updated README.md

main
Codinget 4 years ago
parent 2478f2a8c1
commit 6b718000c7
  1. 10
      README.md

@ -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)

Loading…
Cancel
Save