- Ruby 2.4.0
- Rails 4.2.10
- clone repo:
git clone https://github.com/Aakup/MultiMeet
cd MultiMatch
- install packages:
bundle install --without production
- create and seed db:
db:setup
(runsdb:create db:schema:load db:seed
) - create a file
config/initializers/app_env_vars.rb
and enter your emailer acc and password:
ENV['MAILER_EMAIL'] = 'noreply@multimeet.com'
ENV['MAILER_PASSWORD'] = '<your password>'
rails s(erver)
--> starts app on http://localhost:3000
- develop on your own branch of this repo, call it by your <name/feature> e.g. kevin/projects-list
- write your own tests for your own feature
- write down cucumber scenarios before coding
- before you push: make sure tests run via
bundle exec rspec
andbundle exec cucumber features
- push the branch, then PR to master, and wait for a code review
- in case of merge conflict: pull from master, resolve locally, push to your branch.
- if making db changes:
- run
db:migrate
and check in your newschema.rb
- to completely overwrite schema and migrations:
rake db:drop db:create db:migrate db:seed
- run
- each time you pull and there's a migration: run
db:migrate
ordb:reset