Skip to content

annacarbery/pipeline

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Language grade: Python

For developers...

Changing models

There are some basic tests that run tasks from the pipeline and populate data into my existing tables, although these won't test your own models.

You will need to test manually the migration of your models into an empty postgres database.

There is a docker container that you can build, based on the Dockerfile in this repo. From within the cloned repo:

  1. docker build -t pipeline .
  2. docker run --user root -it pipeline /bin/bash
  3. source activate pipeline
  4. python manage.py makemigrations
  5. python manage.py migrate

If, in step 4 or 5, any errors are thrown, you will need to troubleshoot based on those errors, before the code makes it into the master branch.

I will update my TravisCI tests to make sure the integration tests fail if the migrate tasks listed above don't work.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.5%
  • HTML 3.9%
  • Shell 1.3%
  • Dockerfile 0.3%