DOERS is a decision making and discussion tool. It was designed help distributed teams make decision based on ideas exchange, discussions and voting support.
DOERS is written in Ruby using Rails and Ember.js.
You will need a PostgreSQL database, ideally with many connections allowed due to websocket communication between the client and the server.
We suggest using rbenv and rbenv-install in order to get Ruby install.
Install the latest stable Ruby version (MRI) available.
Make sure you create a copy of every file in the config folder with the
.example extension, leaving it out.
You can exclude: aws.yml and bugsnag.yml.
Those are using only in production.
- Run
bundle install - Run migrations
bundle exec rake db:create db:migrate db:test:prepare - Run
rails s - Open your browser and navigate to
http://lvh.me:3000to login - Install some seed data
rake db:seed:development EMAIL=your@email - Run
rails sagain
You can run bundle exec rake db:create db:migrateto set up the databse.
Run bundle exec rails server and point your browser to http://lvh.me:3000.
Use RSpec to test models and controllers. Use Capybara for integration testing.
Run bundle exec rake to run the tests.
You can also use Guard to run tests while writing them. Use bundle exec guard.
We use mina for deployments.
To deploy latest version from GitHub, run:
$ bundle exec mina deploy