HUB
Sign inSign up
bespin-api-versioned logo

dleehr/bespin-api-versioned

By dleehr

•Updated about 9 years ago

bespin-api versioned

Image
0

2.5K

dleehr/bespin-api-versioned repository overview

⁠bespin-api

Web application for running workflows in the cloud

⁠Development Usage

$ virtualenv env
$ source env/bin/activate
$ pip install -r requirements.txt
$ python manage.py migrate
$ python manage.py createsuperuser
$ python manage.py runserver

⁠Docker Build Details

Docker Cloud is configured to automatically build the master branch and tags of bespin-api, producing docker images that run bespin-api in development mode:

master -> dukegcb/bespin-api:latest
v1.0.0 -> dukegcb/bespin-api:1.0.0

For automated builds of production-ready images, there is a second Dockerfile⁠ in apache-docker⁠. We use Docker Cloud's custom build phase hooks⁠ in the hooks⁠ directory build and push -apache variations of the bespin-api images.

The post_build⁠ and post_push⁠ hooks produce docker images that run bespin-api in production mode:

master -> dukegcb/bespin-api:latest-apache
v1.0.0 -> dukegcb/bespin-api:1.0.0-apache

See apache-docker⁠ for more details, including

Tag summary
Recent tags
Content type
Image
Digest
Size
284.8 MB
Last updated
about 9 years ago
docker pull dleehr/bespin-api-versioned:latest