Added additional installation steps

This commit is contained in:
Dennis Postma 2025-01-25 14:44:33 +01:00
parent f004f059f6
commit bf4789b9a8

View File

@ -13,7 +13,10 @@ This is the server for the Noxious game.
1. Clone the repository 1. Clone the repository
2. Install dependencies with `npm install` 2. Install dependencies with `npm install`
3. Copy the `.env.example` file to `.env` and fill in the required variables 3. Copy the `.env.example` file to `.env` and fill in the required variables
4. Run the server with `npm run dev` 4. After MySQL and Redis are running, run `npx mikro-orm migration:up` to create the database schema
5. Run the server with `npm run dev`
6. Write `init` in the console to import default data and restart the server
7. Write `tiles` in the console to fix tile sizes
## Commands ## Commands