Zooniverse API specific Cellect server
Use the docker-compose tool to get started.
docker-compose up
- Alternatively
docker-compose build cellect
&&docker-compose up
- You'll need a database running to run the specs. Best bet is to use the docker-compose pg database as per development.
- Once done you can override the
config/database.yml
file or use the DATABASE_URL env var, e.g.DATABASE_URL=postgresql://panoptes:panoptes@localhost:6000/cellect_panoptes_test
- Create the db using rake tasks and load the test schema (db/schema.rb)
Once all that is done you can run the specs via DATABASE_URL=postgresql://panoptes:panoptes@localhost:6000/cellect_panoptes_test rspec