Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.
/ game Public archive

Project of single-page game. Refactor in progress.

Notifications You must be signed in to change notification settings

jgradzki/game

Repository files navigation

Requirements

Application requires database supported by TypeORM.

NodeGyp: https://github.com/nodejs/node-gyp#installation

Installation

> npm install
> npm install gulp-cli -g

Configuration

  1. Make db.config.json using src_server/db.config.example.json
  2. 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
}
  1. You can change some game settings in server_src/game/data/config.ts

Building

> npm run build

Run

> npm start

Development tools

Live transpilation

> gulp

Server nodemon

> gulp server

Auto eslint fix

> gulp lint

Cleaning build folder

> gulp clean-build

About

Project of single-page game. Refactor in progress.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published