updated README.md

This commit is contained in:
Nathan DECHER 2020-04-15 12:10:28 +02:00
parent 142024a315
commit 200c716393
1 changed files with 8 additions and 2 deletions

View File

@ -25,14 +25,20 @@ A "simple" Snake, done as my final JS class project
## Running the game (dev)
- `git clone` this repo
- `npm install` the dependencies (this will also build the ressources and initialize the database)
- `npm install` the dependencies (this will also build the less and js and initialize the database)
- `npm start` the server
- `make` every time you change something
## Running the game (prod)
## Running the game (prod, docker)
- Get the [Dockerfile](https://gitdab.com/Codinget/Snek/raw/branch/master/Dockerfile)
- `docker build` it
- `docker run -it -p80:3000` the container
- ideally, put it behind a reverse proxy
## Running the game (prod, direct)
- `git clone` this repo
- `npm install` the dependencies (this will also build the less and js and initialize the database)
- `npm start` the server
## License
[MIT](https://opensource.org/licenses/MIT)