https://github.com/artcom/eppsa-mobile-game-prototype
https://github.com/artcom/eppsa-mobile-game-prototype
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/artcom/eppsa-mobile-game-prototype
- Owner: artcom
- Created: 2017-08-21T07:42:32.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-02-08T12:33:12.000Z (over 8 years ago)
- Last Synced: 2024-12-27T12:12:03.677Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 3.2 MB
- Stars: 0
- Watchers: 13
- Forks: 0
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# EPPSA Mobile Game Prototype
## Development Setup
follow instructions by https://gist.github.com/jed/6147872
use `dev` instead of `$(whoami)`
for
`echo "address=/.$(whoami)/127.0.0.1" | sudo tee -a $(brew --prefix)/etc/dnsmasq.conf`
use actual network address instead of 127.0.0.1
add `no-dhcp-interface=en0` to dnsmasq.conf to make dns public
use dns in android devices
Client:
```
npm install
HTTPS=true npm run watch
```
Server:
```
npm start
```
## Docker
Requirements: Docker >=v17.12
### Development
* `docker-compose -f docker-compose.yml -f docker-compose.development.yml up`
* Open [https://localhost:3000/webpack-dev-server/?wsServer=https://localhost:5000](https://localhost:3000/webpack-dev-server/?wsServer=https://localhost:5000)
### Production
* `docker-compose -f docker-compose.yml -f docker-compose.production.yml up`
* https://[host]:8086/?wsServer=https://[host]:8088