Skip to content

Setting up Pepyatka

epicmonkey edited this page May 27, 2015 · 12 revisions

Prerequisites

  • Install redis
  • Install graphicsmagick (ensure jpeg and png flags are set)
  • Install nvm
  • Install nodejs
  • Install graphicsmagick library

Configuration

  • Make sure to update secret token: ./config/environments/development.js
  • Install dependencies: npm install
  • Check there are no broken tests: npm test
  • Run server: node ./index.js

Production

For the production environment you could use ansible project to automate deployment.