Skip to content
This repository

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

Octocat-spinner-32 app Ensure that the url for a petition image is stripped of whitespace be… October 08, 2013
Octocat-spinner-32 config (+Brian) Removed AdminConstraint entirely and fixed pending specs by … August 28, 2013
Octocat-spinner-32 db Initial comment for Devise related changes. There are tests that stil… August 26, 2013
Octocat-spinner-32 infra adding vagrant RAILS_ENV July 18, 2012
Octocat-spinner-32 lib (+Brian) Removed AdminConstraint entirely and fixed pending specs by … August 28, 2013
Octocat-spinner-32 log import rails April 19, 2012
Octocat-spinner-32 public More DemandProgress-specific settings moved to generic settings that … August 06, 2013
Octocat-spinner-32 script Attempting to extract direct references to DP and Watchdog and other … August 06, 2013
Octocat-spinner-32 spec Some minor tweaks: removing debugs and comments. August 29, 2013
Octocat-spinner-32 vendor Added spinner, fixed the suggested friends logic for facebook recomme… September 28, 2012
Octocat-spinner-32 worker Improved logging in the worker scheduler. August 07, 2013
Octocat-spinner-32 .autotest Now sigining the petition takes you back to the petition page and we … April 25, 2012
Octocat-spinner-32 .gitignore Moved database.yml to database.yml.example so local changes specific August 19, 2013
Octocat-spinner-32 .rspec initial capybara setup - petitions_creation migrated August 26, 2012
Octocat-spinner-32 COPYING update readme April 23, 2012
Octocat-spinner-32 Gemfile Initial comment for Devise related changes. There are tests that stil… August 26, 2013
Octocat-spinner-32 Gemfile.lock Initial comment for Devise related changes. There are tests that stil… August 26, 2013
Octocat-spinner-32 Procfile Lowering the number of workers to match the DB connection pool size; … August 19, 2013
Octocat-spinner-32 Procfile.dev Removing old Resque worker from dev procfile. July 23, 2013
Octocat-spinner-32 RAILS_README.rdoc update readme April 23, 2012
Octocat-spinner-32 README.md Update README.md January 12, 2014
Octocat-spinner-32 Rakefile initial capybara setup - petitions_creation migrated August 26, 2012
Octocat-spinner-32 Vagrantfile adding vagrant RAILS_ENV July 18, 2012
Octocat-spinner-32 config.ru import rails April 19, 2012
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:

$ brew unlink postgresql
$ 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.