A fancy ShareX server with a dashboard made with NextJS and NestJS.
Go to file
renzynx aaafe46472 s3 support and ui refactor 2022-12-25 14:45:18 +07:00
.github/workflows Either Hot Shit or Total Bollocks 2022-12-22 19:48:29 +07:00
.vscode s3 support and ui refactor 2022-12-25 14:45:18 +07:00
api s3 support and ui refactor 2022-12-25 14:45:18 +07:00
web s3 support and ui refactor 2022-12-25 14:45:18 +07:00
.gitignore We know the game and we're gonna play it 2022-12-19 19:12:25 +07:00
LICENSE Add LICENSE 2022-12-16 02:13:37 +00:00
README.md faster installation 2022-12-20 21:21:55 +07:00
TODO.md perfect... 2022-12-21 16:56:45 +07:00
docker-compose.example.yml fix syntax error 2022-12-20 16:45:13 +07:00
entrypoint.sh We know the game and we're gonna play it 2022-12-19 19:12:25 +07:00

README.md

Installing

This guide assumes you have a domain name and a server and have basic knowledge of how to use linux.

Expand for docker installation steps

Requirements

  • docker and docker compose installed

Copy and paste the following into your terminal:

wget https://cdn.amog-us.club/docker-compose.yml

Fill in the docker-compose.yml environment with the appropriate values.

docker compose up -d

To get the initial root account, run the following command:

docker exec api cat /app/initial_root_password.txt

Now you can login with the root account with owner permissions.

Updating

To update the application, run the following command:

docker compose pull && docker compose up -d
Expand for manual installation steps

Requirements

  • node version 16.16.0 or higher
  • pm2 globally installed
  • yarn globally installed
  • caddy installed

Backend Installation

Copy and paste the following into your terminal:

git clone https://github.com/renzynx/bliss.git

cd bliss/api

cp .env.example .env

Fill in the .env file with the appropriate values.

yarn install

yarn prisma migrate deploy

yarn build

pm2 start "yarn start:prod" --name "bliss-api"

Frontend Installation

Copy and paste the following into your terminal:

cd ../web

cp .env.example .env

Fill in the .env file with the appropriate values.

yarn install

yarn build

pm2 start "yarn start" --name "bliss-web"

Updating

To update the application, run the following command:

git pull

Then go through the installation steps again.


Domain name and SSL configuration

If you don't have caddy installed already Click Here

Copy and paste the following into your terminal:

You need to replace the placeholder with your actual domain name and port.

sudo caddy reverse-proxy --from https://yourdomain.com --to localhost:frontend-port
sudo caddy reverse-proxy --from https://api.yourdomain.com --to localhost:backend-port

Caddy will automatically generate a certificate for you.


Screenshots

image image image image image