gamebot
Running locally
npm install
CLIENT_ID=xxxxxxxxxx.yyyyyyyyyyyy CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx npm run serve
npm install
will fail when building lwip
. To solve this you need to:
- Switch to node v7.5.0 (or v6.10.0 if you're on v6)
- Run
npm install
- Switch back to your default node version
CLIENT_ID=xxxxxxxxxx.yyyyyyyyyyyy CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx npm run serve
If you don't know what CLIENT_ID
and CLIENT_SECRET
are, please read this. TODO: add more details on that
Running in production
Don't forget to set PRODUCTION=true
.