1.0.1 • Published 8 years ago
game-cafe v1.0.1
GameCafe Client Framework
Framework to build multi-player web games using firebase
Development
Setup steps:
- Install
nodejs
,npm
andyarn
- Once the above tools are installed,
cd
to root directory and runyarn install
to install dependencies. - Copy
.env.dist
to.env
and fill in the credentials. - Run
yarn start
to run development server. - Access the example tic tac toe game at
http://localhost:8888
Production
- Generate production build using
yarn build:prod
- Test production build locally by changing the port in
prodServer.js
from 443 to local port - Run
yarn start:prod
to run prod server - Access at
http://localhost:<specified_port>