Install dependencies
npm install
or
yarn install
Make a build folder in project root
mkdir public/build
Contact admin for config.js or load the following environment variables:
MAILGUN_API
MAILGUN_DOMAIN
Build Bundle
npm run-script build
Compile SCSS into CSS and watch during development
sass --watch ./public/styles/styles.scss:./public/build/styles.css
Start Server & Connect
npm start
Build bundle and SASS
npm run build
Then start server.
Currently deployed on a Digital Ocean Droplet with the reflexproductions.tv website.
Process is run via systemd.
Service file is at /etc/systemd/system/hands.service