- Install Docker
- Follow the instructions for using docker.
- You want to maximize performance, and are OK with getting your hands dirty: Use a native environment
- You want to write code against the API, or make smaller changes: Use Docker
The codebase changes relatively rapidly. There are some general patterns that you can follow to ensure syncing and keeping your development environment up to date does not give you a headache.
assumes you're in the TaxonWorks path
git pull
get the latest code- run a test or two to see that your environment is not borked
spring rspec spec/models/otu_spec.rb
You might also:
bundle install
to update your gem librariesrake db:migrate
to see if there are database migrations
- review your Ruby configuration
- agree to the new XCode terms of service
- check that you're running the required Ruby
which ruby
- reinstall Ruby as per instructions
- reinstall your ruby gems
- nuke node modules
rm -rf node_modules
- redo
npm install