A blazingly fast SkyBlock stats website using SvelteKit 🚀 🚀 🚀
-
Install dependencies with
pnpm install
-
Make a copy of
.env.example
and rename it to.env
. Fill in the values with your own. -
Start up the needed service(s) with the following:
docker-compose up -d redis mongo
- Start the website with:
pnpm run dev
# or start the server and open the app in a new browser tab
pnpm run dev -- --open
-
Make sure to run
pnpm run lint
andpnpm run format
before committing to ensure your code is formatted correctly. -
Make use of PRs and branches to keep the codebase clean.
To create a production version of your app:
pnpm run build
You can preview the production build with pnpm run preview
.
To deploy your app, you may need to install an adapter for your target environment.
-
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