Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 1.29 KB

README.md

File metadata and controls

42 lines (25 loc) · 1.29 KB

Quickstart

Development environments

  • 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

Day to day use

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.

Every day, before you start to code:

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 libraries
  • rake db:migrate to see if there are database migrations

On OS X system updates

  • review your Ruby configuration
  • agree to the new XCode terms of service

On Ruby version bumps

  • check that you're running the required Ruby which ruby
  • reinstall Ruby as per instructions
  • reinstall your ruby gems

When you switch between docker and native environments

  • nuke node modules rm -rf node_modules
  • redo npm install