# pepper-paintings ### Install everything ``` npm install npm install -g webpack-cli scp web@giraffe.life:pepper-paintings/.env . ``` Change `OK_PRODUCTION` to false in the `.env` ### Run the CMS ``` node index ``` Using the `.env` above, the CMS will run on http://lvh.me:6555/ ### Watch for changes ``` webpack ``` This will build the file `public/bundle.js` To build for production, do `webpack -p`, which will build and minify the bundle. Please do this before pushing a new revision of the site. ### On the server I use `pm2` to manage my node projects on the server: ``` pm2 list pm2 info pepper pm2 restart pepper ```