Skip to content
Open Active Policy is a deep policy-making gamification platform
Ruby JavaScript HTML Perl CSS Shell
Branch: master
Clone or download
Latest commit 0274833 Nov 8, 2019

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
content/MakeYourConstitution
db
lib
public
test
vendor/assets
.gitignore
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
agpl-3.0.txt
config.ru
count_all.sh

README.md

Open Active Policy

An interactive policymaking game and voting system

Installation

Install Ubuntu dependencies

sudo apt-get -yqq install curl git build-essential libxslt-dev libxml2-dev libmysqlclient-dev mysql-server

Install Ruby 2.0

http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.5.tar.gz
tar -xvzf ruby-2.1.5.tar.gz
cd ruby...
make
sudo make install

Install bundler and dependencies

gem install bundler
cd open-active-voting
bundle install

Setup the database (edit config file)

cd config
vi database.yml
# Edit database.yml to point to your MySQL server
cd ..
rake db:create
rake db:schema:load
rake db:seed

Running the test server

rails server -e test

In a new terminal Running the tests

cd open-active-voting
bundle exec rake test:integration

Browsing the test system

Open http://localhost:3000/ in your browser

You can’t perform that action at this time.