###Technology###
- Ruby-2.3.0
- Postgres (as permanent data store)
- Grape
- Thin (as app server in Development)
- Unicorn (as app server in Production)
- RabbitMQ (as messaging system)
For mac
brew install postgres
brew install rabbitmq
For Debian
apt-get install postgres
apt-get install rabbitmq
bundle install
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
rabbitmq-server
./configure
bundle exec rake db:create
bundle exec rake db:migrate
bundle exec rake db:test:prepare
bundle exec thin start -p3011
bundle exec rspec
or
COVERAGE=true bundle exec rspec
or
bundle exec guard [Watches every file save and runs the specs]
(make changes Guardfile that suits your need)
bundle exec rubocop
bundle exec tux