Reagent creation and barcoding service for DNA Pipeline.
- Remove ".sample" from the following file names:
- config/ldap.yml
- config/mailer.yml
- config/print_service.yml
- config/secrets.yml
- In config/application.rb line 25, set:
config.stub_ldap = true
- In Rails console (
$ rails console
):
> team = Team.create(name: "Team Name")
> user = User.create(username: "Username", team_id: team.id)
- Run
rails server
and navigate to http://localhost:3000 - Log in with your chosen username and no password.
To initialize data while dev-ing/testing run:
rake consumables:load
To run tests, execute: rake spec
- Testing: RSpec Rails
- Pagination: Kaminari
- Creating test data: Factory Girl
- For testing web interactions: Capybara