worldPing Website

based on raintank website

Prerequisites for new setups:

  • Run npm install
  • Make sure Hugo is installed. You can verify Hugo is installed by typing which hugo from the command line. If hugo is not found, please install: https://gohugo.io/overview/installing/

Quick build instructions:

  1. Run grunt connect to start the server
  2. In a separate terminal, run grunt watch dev to compile into `build/dev/'
  3. Open http://127.0.0.1:1342/ in a browser (or whatever the port specified in gruntfile.js)
  4. Shake vigorously. Pour. Enjoy.

Pushing to dev worldping-staging.raintank.io

  1. ssh into the box
  2. pull the latest commits from github: cd /var/local/worldping-staging && git pull
  3. reprocess the assets, placing them in build/dist: grunt
  4. restart application: service worldping-staging restart

Pushing to production worldping.raintank.io

  1. ssh into the box
  2. pull the latest commits from github: cd /var/local/worldping-website && git pull
  3. reprocess the assets, placing them in build/dist: grunt
  4. restart application: service worldping restart