bguthrie / victorykit

A free and open source platform to run campaigns for social change.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VictoryKit is a free and open source platform to run campaigns for social change.

Installation

On a Mac, you'll want to install:

$ brew install redis
$ brew install mysql
$ brew install chromedriver

You may already have a version of Postgres installed, in which case you'll need to remove it with:

$ mkdir /tmp/postg
$ sudo mv /usr/include/pg* /tmp/postg
$ brew update
$ brew install postgresql

To checkout the code:

$ git clone git@github.com:victorykit/victorykit.git

To confirm you have the appropriate requirements:

$ cd victorykit
$ ./script/bootstrap

Usage

Make sure the tests pass:

$ rake

To get the smoke tests to pass, you'll need to have the right OAUTH variables, either by running ./script/gen_google_oauth or getting the right variables from a friend and then setting them in your environment. You'll also need to be running the local server:

$ rails server

About

A free and open source platform to run campaigns for social change.

License:GNU Affero General Public License v3.0


Languages

Language:Ruby 86.6%Language:JavaScript 12.8%Language:CoffeeScript 0.3%Language:Shell 0.3%Language:Racket 0.1%