Skip to content

Zickles/skystats

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A blazingly fast SkyBlock stats website using SvelteKit 🚀 🚀 🚀

Setup

  1. Install dependencies with pnpm install

  2. Make a copy of .env.example and rename it to .env. Fill in the values with your own.

  3. Start up the needed service(s) with the following:

docker-compose up -d redis mongo
  1. Start the website with:
pnpm run dev

# or start the server and open the app in a new browser tab
pnpm run dev -- --open

When Contributing

  1. Make sure to run pnpm run lint and pnpm run format before committing to ensure your code is formatted correctly.

  2. Make use of PRs and branches to keep the codebase clean.

Building

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.

Deploying

  1. 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.

  2. Startup the containers with the correct override file as follows:

docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d

About

SkyStats website repo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 82.3%
  • Svelte 14.2%
  • JavaScript 2.5%
  • Other 1.0%