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
- MongoDB
- NodeJS & NPM
- Component
npm install -g component
- Fork and/or clone or even just download this repository.
- Set your configuration keys for twitter and facebook on
./config(Check out documentation below). - Run
makeormake install && make runin the root of this application.
- Fork and/or clone or even just download this repository.
- Set your configuration keys for twitter and facebook on
./config(Check out documentation below). - Run
npm installin the root of this application. - Run
component installin the root of this application. (Or./node_module/component/bin/component install) - Run
make runorNODE_PATH=. node app.js.
In order to install a development instance of this applications, you need to:
cp config.sample.json config.dev.jsoninto this very directory- Set
NODE_ENVenvironment variable todevelopment - Then set the following configuration variables:
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.
In order to install a testing instance of this applications, you need to:
cp config.sample.json config.testing.jsoninto this very directory.- Set
NODE_ENVenvironment variable totesting - Then set the following configuration variables:
In order to install a production instance of this applications, you need to:
cp config.sample.json config.jsoninto this very directory.- Set
NODE_ENVenvironment variable toproduction - Then set the following configuration variables:
In order to install this application you shoud set the following config services:
- MONGOHQ_URL: MongoDB add-on database url
- 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
- 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
- PDR Site: The
Network Partyofficial site. - PDR Wiki: The
Network Partyofficial wiki. - PDR Facebook: The
Network Partyofficial Facebook page. - PDR Twitter: The
Network Partyofficial Twitter account.
MIT