new 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:
- Run
grunt connect
to start the server - In a separate terminal, run
grunt watch dev
to compile into `build/dev/' - Open http://127.0.0.1:1342/ in a browser (or whatever the port specified in gruntfile.js)
- Shake vigorously. Pour. Enjoy.
Pushing to dev milo.wearecapacity.com
- ssh into the box
- pull the latest commits from github:
cd /var/local/milo.wearecapacity.com && git pull
- reprocess the assets, placing them in build/dist:
grunt
- restart application:
service milo restart
Pushing to production raintank.io
- ssh into the box
- pull the latest commits from github:
cd /var/local/www && git pull
- reprocess the assets, placing them in build/dist:
grunt
- restart application:
service raintank restart