Skip to content


Repository files navigation


  • Node >= 6.7.0
  • Docker >= 1.12.1

And server/settings.js should look like:

export const cookieSecret = '';

// Google oauth
export const clientId = '';
export const clientSecret = '';
export const redirectOrigin = '';

…but with the correct values.

To install

npm install # or yarn
npm run install-mongo

To run

npm run serve

Dokku setup

  1. Install Dokku
  2. Use vhosts, then:
sudo dokku plugin:install mongo
sudo dokku plugin:install
sudo dokku apps:create big-web-quiz
sudo dokku mongo:create big-web-quiz
sudo dokku mongo:link big-web-quiz big-web-quiz
sudo dokku domains:add big-web-quiz
sudo dokku domains:remove big-web-quiz
sudo dokku config:set --no-restart big-web-quiz
# then push the app (yarn run deploy), then:
sudo dokku letsencrypt big-web-quiz
sudo dokku letsencrypt:cron-job --add

Then up the connection limits in /etc/nginx/nginx.conf.

worker_rlimit_nofile 90000;

events {
        worker_connections 90000;
        # multi_accept on;

…then restart nginx.