ACM-PUC's kiosk management application.
ACM-PUC’s kiosk management.
npm install
(or yarn install
)DB_HOST
(‘localhost’ should work), or alternatively MONGODB_URI
FB_CLIENT_ID
(your app Facebook Client ID)FB_CLIENT_SECRET
(your app Facebook Client Secret)gulp watch
(turns on the frontend code watchers)nodemon server/index.js
(turns on the backend server)Remember to set localhost
as your App Domain and http://localhost/
as your
Site URL at Developers.Facebook.
# Set the environment variables
$ export HOST=your-deployment-host
$ export PORT=80
$ export FB_CLIENT_ID=your-Facebook-Client-ID
$ export FB_CLIENT_SECRET=your-Facebook-Client-Secret
$ export SECRET_TOKEN=any-string
# Build & run
$ docker-compose up -d
The server’s machine should now be redirecting its port 80 to the container’s
port 8888.
To stop:
$ docker-compose stop
Remember that your App Domain and your Site URL at Developers.Facebook should be configured
according to ACM_KIOSK_HOST’s value.