Matias Lescano edited this page Feb 22, 2016 · 4 revisions

Steps of instalation on Ubuntu 10.04 LTS.

  • Install git
  • Clone DemocracyOS from Github
  • Install mongodb package from apt
  • Install node-legacy
  • Install npm
  • Follow steps in There was an error when will execute the command of step 4:
{ [Error: ENOENT, open '/home/walrus/democracyos/lib/config/client.js']
   errno: 34,
   code: 'ENOENT',
   path: '/home/walrus/democracyos/lib/config/client.js' }
  • Create a Mandrill account and configured the API key in config/development.json
  • Create an account, validate the email and put the email on the staff configuration in config/development.json:
  "staff": [
  • If you want your application on port 80, but running node in an user without root privileges, just configure in config/development.json privatePort: 80 and privatePort: 8000. You can use nginx or apache like a proxy or just redirect the port 80 to 8000:
iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080