Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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

This branch is 2 commits ahead, 15 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
infra
lib
log
public
script
spec
vendor
worker
.autotest
.gitignore
.rspec
COPYING
Gemfile
Gemfile.lock
Procfile
Procfile.dev
RAILS_README.rdoc
README.md
Rakefile
Vagrantfile
config.ru

README.md

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

build status

Installation

On a Mac, you'll want to install:

$ brew install redis postgresql

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 check out the code:

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

To confirm you have the appropriate requirements:

$ cd victorykit
$ ./script/bootstrap

Usage

  • Make sure gems are up to date:

    $ bundle

  • Make sure Postgres is running

  • Make sure the database exists and is migrated

    $ rake db:create $ rake db:migrate

  • Make sure the tests pass:

    $ rake

  • Make sure Redis is running

Run the app locally

$ rails server

Alternatively, you can use Foreman:

$ foreman start -f Procfile.dev -p 3000
Something went wrong with that request. Please try again.