updated README.md
This commit is contained in:
parent
142024a315
commit
200c716393
1 changed files with 8 additions and 2 deletions
10
README.md
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…
Reference in a new issue