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