A fancy ShareX server with a dashboard made with NextJS and NestJS.
Go to file
renzynx 0fbb1a9606 We know the game and we're gonna play it 2022-12-19 19:12:25 +07:00
.github/workflows We know the game and we're gonna play it 2022-12-19 19:12:25 +07:00
api We know the game and we're gonna play it 2022-12-19 19:12:25 +07:00
web We know the game and we're gonna play it 2022-12-19 19:12:25 +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 This bunny should be killed. 2022-12-19 09:29:46 +07:00
TODO.md I'm guessing this may start causing us problems either soon or never. 2022-12-18 10:50:06 +07:00
docker-compose.example.yml We know the game and we're gonna play it 2022-12-19 19:12:25 +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:

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

cd bliss

cp docker-compose.example.yml docker-compose.yml

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

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"

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