https://www.vagrantup.com/downloads
- 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 runrails console
,rails s
, run migrations etc.
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.)
Please cover any new code with specs. We prefer code to be covered using RSpec or Capybara.