Application requires database supported by TypeORM.
NodeGyp: https://github.com/nodejs/node-gyp#installation
> npm install
> npm install gulp-cli -g
- Make
db.config.json
usingsrc_server/db.config.example.json
- Edit databse configuration
{
"type": "postgres",
"host": "localhost",
"port": 5432,
"username": "admin",
"password": "",
"database": "game",
"synchronize": true, // set to false in production
"logging": false,
"dropSchema": false // dont set to true in production
}
- You can change some game settings in
server_src/game/data/config.ts
> npm run build
> npm start
> gulp
> gulp server
> gulp lint
> gulp clean-build