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.
Ruby JavaScript CSS
Failed to load latest commit information.
app Ensure that the url for a petition image is stripped of whitespace be…
config (+Brian) Removed AdminConstraint entirely and fixed pending specs by …
db Initial comment for Devise related changes. There are tests that stil…
infra adding vagrant RAILS_ENV
lib (+Brian) Removed AdminConstraint entirely and fixed pending specs by …
log import rails
public More DemandProgress-specific settings moved to generic settings that …
script Attempting to extract direct references to DP and Watchdog and other …
spec Some minor tweaks: removing debugs and comments.
vendor Added spinner, fixed the suggested friends logic for facebook recomme…
worker Improved logging in the worker scheduler.
.autotest Now sigining the petition takes you back to the petition page and we …
.gitignore Moved database.yml to database.yml.example so local changes specific
.rspec initial capybara setup - petitions_creation migrated
COPYING update readme
Gemfile Initial comment for Devise related changes. There are tests that stil…
Gemfile.lock Updated vesion of the newrelic_rpm gem per NewRelic
Procfile Lowering the number of workers to match the DB connection pool size; …
Procfile.dev Removing old Resque worker from dev procfile.
RAILS_README.rdoc update readme
README.md Update README.md
Rakefile initial capybara setup - petitions_creation migrated
Vagrantfile adding vagrant RAILS_ENV
config.ru import rails

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.