Giter VIP home page Giter VIP logo

app's Introduction

DemocracyOS

DemocracyOS is an online space for deliberation and voting on political proposals. The software aims to stimulate better arguments and come to better rulings.

![][1] [1]: https://dsz91cxz97a03.cloudfront.net/D3idav5d87-1200x1200.png

Requirements

Install

For Unix Users

  1. Fork and/or clone or even just download this repository.
  2. Set your configuration keys for twitter and facebook on ./config (Check out documentation below).
  3. Run make or make install && make run in the root of this application.

For others

  1. Fork and/or clone or even just download this repository.
  2. Set your configuration keys for twitter and facebook on ./config (Check out documentation below).
  3. Run npm install in the root of this application.
  4. Run component install in the root of this application. (Or ./node_module/component/bin/component install)
  5. Run make run or NODE_PATH=. node app.js.

Development Settings

In order to install a development instance of this applications, you need to:

  1. cp config.sample.json config.dev.json into this very directory
  2. Set NODE_ENV environment variable to development
  3. Then set the following configuration variables:

Facebook Auth

You'll need a Facebook application in order to log in with a Facebook user; add your private values to /config/config.dev.json.

If you don't already have a Facebook application, you can create one free by going to http://developers.facebook.com and following these easy steps.

Keep in mind that using separate Facebook applications for different environments (development, testing, production) is usually recommended.

Testing Settings

In order to install a testing instance of this applications, you need to:

  1. cp config.sample.json config.testing.json into this very directory.
  2. Set NODE_ENV environment variable to testing
  3. Then set the following configuration variables:

Production Settings

In order to install a production instance of this applications, you need to:

  1. cp config.sample.json config.json into this very directory.
  2. Set NODE_ENV environment variable to production
  3. Then set the following configuration variables:

Heroku Settings

In order to install this application you shoud set the following config services:

MongoDB

  • MONGOHQ_URL: MongoDB add-on database url

Facebook Auth

  • FB_CLIENT_ID: Facebook application ClientId.
  • FB_CLIENT_SECRET: Facebok application ClientSecret.
  • FB_CALLBACK: Facebook application callback url. Eg: http://yourdomain.org/auth/facebook/callback

Twitter Auth

  • TW_CONSUMER_KEY: Twitter application ConsumerKey.
  • TW_CONSUMER_SECRET: Twitter application ConsumerSecret.
  • TW_CALLBACK: Twitter application callback url. Eg: http://yourdomain.org/auth/twitter/callback

Active Contributors

Useful links

  • PDR Site: The Network Party official site.
  • PDR Wiki: The Network Party official wiki.
  • PDR Facebook: The Network Party official Facebook page.
  • PDR Twitter: The Network Party official Twitter account.

License

MIT

app's People

Contributors

cristiandouce avatar gvilarino avatar lisandropodesta avatar ultraklon avatar oscarguindzberg avatar

Watchers

James Cloos avatar Julian Mendiola avatar

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.