Clone the git repository
git clone firstname.lastname@example.org:voxe/voxe-web.git
Ensure you have ImageMagick installed on your system. If not, check out chapter “Dependencies” below.
At the prompt command, install gems:
At the prompt command, start your server:
If you need some data, check out chapter “Import Data” below.
We doing some image processing with ImageMagick (www.imagemagick.org).
For MacOS X users, you can install Homebrew (mxcl.github.com/homebrew) a packet manager and then install ImageMagick.
At the command prompt:
brew install imagemagick
If you want to launch acceptance tests, you should install the qt development libraries.
MacOS X with homebrew:
brew install qt
An installation guide for qt libs is available here : github.com/thoughtbot/capybara-webkit/wiki/Installing-QT
To get some data from 2007 French Presidential Election, at the command prompt type:
If you have access to your staging server, you can also use the voxe custom “heroku-mongo-sync” plugin to get the database we use on this server:
heroku plugins:install http://github.com/voxe/voxe-heroku-mongo-sync.git heroku mongo:pull --app voxe
Then, to update the staging server with the production data
heroku mongo:push --app voxe-staging
At the command prompt, launch tests:
There are also acceptance tests which can be run with this command:
Deploying in staging mode:
Or in production mode: