A free and open source platform to run campaigns for social change.
Ruby HTML JavaScript CSS Shell
Permalink
Failed to load latest commit information.
app Ensure that the url for a petition image is stripped of whitespace be… Oct 8, 2013
config (+Brian) Removed AdminConstraint entirely and fixed pending specs by … Aug 28, 2013
db Initial comment for Devise related changes. There are tests that stil… Aug 26, 2013
infra adding vagrant RAILS_ENV Jul 18, 2012
lib (+Brian) Removed AdminConstraint entirely and fixed pending specs by … Aug 28, 2013
log import rails Apr 19, 2012
public More DemandProgress-specific settings moved to generic settings that … Aug 6, 2013
script Attempting to extract direct references to DP and Watchdog and other … Aug 6, 2013
spec Some minor tweaks: removing debugs and comments. Aug 29, 2013
vendor Added spinner, fixed the suggested friends logic for facebook recomme… Sep 28, 2012
worker Improved logging in the worker scheduler. Aug 7, 2013
.autotest Now sigining the petition takes you back to the petition page and we … Apr 25, 2012
.gitignore Moved database.yml to database.yml.example so local changes specific Aug 19, 2013
.rspec initial capybara setup - petitions_creation migrated Aug 26, 2012
COPYING update readme Apr 23, 2012
Gemfile Initial comment for Devise related changes. There are tests that stil… Aug 26, 2013
Gemfile.lock Updated vesion of the newrelic_rpm gem per NewRelic Jun 13, 2014
Procfile Lowering the number of workers to match the DB connection pool size; … Aug 19, 2013
Procfile.dev Removing old Resque worker from dev procfile. Jul 23, 2013
RAILS_README.rdoc update readme Apr 23, 2012
README.md Add archived notice to readme Mar 23, 2016
Rakefile initial capybara setup - petitions_creation migrated Aug 26, 2012
Vagrantfile adding vagrant RAILS_ENV Jul 18, 2012
config.ru import rails Apr 19, 2012

README.md

Archived: This project is no longer being actively maintained or (to the maintainer's knowledge) being used by anyone in production. Contact @bguthrie or @woodhull if you have plans to adopt this application or would like to help maintain it.

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