Giter Club home page Giter Club logo

debate's Introduction

Debate tip for next commit

The goal of this system is to codify rational discourse and allow polling on issues.

Users should be able to proxy their vote either to an individual or organization.

Identity will be verified via postal mail sent to their name and address as registered with the election commission.

Participation

Development information is spread out over a few services:

If you're interested in paid development, estimate and rate hours then e-mail me since I never look at that site.

Installation

Locally

  1. sudo apt-get install git
  2. git clone https://github.com/TheFuturistParty/debate.git
  3. curl -sSL https://get.rvm.io | bash
  4. source ~/.rvm/scripts/rvm
  5. cd debate
  6. rvm install ruby-2.1.2
  7. bundle install
  8. optional edit config/secrets.yml and change the admin credentials
  9. rake db:create db:migrate db:seed
  10. rails s
  11. chrome http://localhost:3000

Heroku

  • git clone https://github.com/TheFuturistParty/debate.git
  • cd debate
  • heroku create app dbate
  • heroku addons:add heroku-postgresql
  • heroku config:add DOMAIN_NAME='dbate.herokuapp.com'
  • git push heroku master
  • heroku config:add ADMIN_NAME='admin'
  • heroku config:add ADMIN_EMAIL='[email protected]' ADMIN_PASSWORD='secret'
  • heroku run rake db:migrate db:seed
  • rake figaro:heroku

If you change anything, it has to be precompiled before it is sent to Heroku.

  • RAILS_ENV=production rake assets:precompile
  • git add -A
  • git push heroku master

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.