Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 978 Bytes

CONTRIBUTING.md

File metadata and controls

25 lines (16 loc) · 978 Bytes

Contributing

Setting Up Development Environment

1 Fork and clone the repository.

2 Install Vagrant.

https://www.vagrantup.com/downloads

3 Capture the powers of vagrant

  • In the repo dir: vagrant up (Safely ignore: 'dpkg-preconfigure: unable to re-open stdin: No such file or directory')
  • If changes have been made since running vagrant up: vagrant provision
  • To login to the machine: vagrant ssh
  • cd /vagrant/refugerestrooms to navigate to the refuge directory. This allows you to run rails console, rails s, run migrations etc.

4 Optional tasks:

run rake db:fix_accents to clean up encoding problems in the safe2pee data. (Use rake db:fix_accents[dry_run] to preview the changes.)

5 Assets

Testing

Please cover any new code with specs. We prefer code to be covered using RSpec or Capybara.