mirror of https://github.com/renzynx/bliss.git
discorddockerexpressfile-sharingfile-uploadgalleryhacktoberfestnestjsnextjsnodejsprismareactscreenshotsharexsharex-serversharex-uploadtypescript
0fbb1a9606 | ||
---|---|---|
.github/workflows | ||
api | ||
web | ||
.gitignore | ||
LICENSE | ||
README.md | ||
TODO.md | ||
docker-compose.example.yml | ||
entrypoint.sh |
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
anddocker 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 higherpm2
globally installedyarn
globally installedcaddy
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