A blazingly fast SkyBlock stats website using SvelteKit and Rust 🚀 🚀 🚀
-
Clone the repo
-
Follow the instructions in the
backend
andfrontend
folders to setup the development environment for each -
Start up the server(s) that you won't be developing in with the following:
docker-compose up -d website # Working on backend
docker-compose up -d api database # Working on frontend
docker-compose up -d database # Working on both
For these to work properly, you will need to have the .env
files in the backend
and frontend
folders filled out with the correct connection information.
Close the containers with docker-compose down
when you are done.
- Start up the server(s) you will be developing by following the instructions in the
backend
andfrontend
folders
-
Make a copy of both
.env.example
files in the subfolders and rename them to.env.production
. Fill in the values with the internal hostnames of the containers and the correct information for your deployment. -
Startup the containers with the correct override file as follows:
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d