Skip to content

GitHubHubus/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake games

There is the project with different types of snake game

Setup

Prepare before setup:

cp client/settings.json.dist client/settings.json // modify if need with your own params
cp server/settings.json.dist server/settings.json // modify if need with your own params

For prod mode

cd docker
docker-compose up --build -d

For dev mode

cd docker
docker-compose -f docker-compose-dev.yml up --build -d
docker exec -it snake_client npm run start
docker exec -it snake_db mongo admin -u root -p rootpassword --eval "use snake"
docker exec -it snake_db mongo admin -u root -p rootpassword --eval "db.getSiblingDB('snake').createUser({user: 'root', pwd: 'rootpassword', roles: ['readWrite']})"

About

Just for fun

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published