Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.42 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.42 KB

Logo

Stargazers

PenguinMod-BackendApi

This is the replacement for PenguinMod-IntermediateBackendApi.

This is intended to be a major rewrite of the entire API to be organized much better, and use MongoDB & other systems for better scalability.

setup

Either setup as you would with prod, or:

  1. Install MongoDB
  2. Run mongod to start mongodb
  3. Run npm i. if this doesn't work run it with --force (if you have to use force, make an issue. We want to avoid having to do that)
  4. Install minio and start it
  5. Add a .env file copied from the .env.template file and fill in the values.
  6. Run npm run dev to start the server in development mode.

OR with docker, run docker compose up -d --build

Deployment

Make sure your env is setup, then use docker-compose to get the containers running.

Note: Keep your env PRIVATE!! Do NOT put it in a public repo!! Don't even put it in a private one!!