1
0
forked from noxious/server

Updated README

This commit is contained in:
Dennis Postma 2025-01-25 14:50:53 +01:00
parent bf4789b9a8
commit b115181756

View File

@ -13,10 +13,11 @@ 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. After MySQL and Redis are running, run `npx mikro-orm migration:up` to create the database schema 4. Extract assets.zip to the `public` folder
5. Run the server with `npm run dev` 5. After MySQL and Redis are running, run `npx mikro-orm migration:up` to create the database schema
6. Write `init` in the console to import default data and restart the server 6. Run the server with `npm run dev`
7. Write `tiles` in the console to fix tile sizes 7. Write `init` in the console to import default data and restart the server
8. Write `tiles` in the console to fix tile sizes
## Commands ## Commands