Skip to content

adammcmaster/cellect_panoptes

 
 

Repository files navigation

cellect_panoptes

Zooniverse API specific Cellect server

Development

Use the docker-compose tool to get started.

  1. docker-compose up
  2. Alternatively docker-compose build cellect && docker-compose up

Testing

  1. You'll need a database running to run the specs. Best bet is to use the docker-compose pg database as per development.
  2. 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
  3. 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

About

A Dockerfile for Cellect Specific to Panoptes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 94.5%
  • Shell 5.5%