VIDA-NYU / reprozip-examples

Examples and demos for ReproZip
https://examples.reprozip.org/
16 stars 6 forks source link

Django blog #3

Closed remram44 closed 8 years ago

remram44 commented 8 years ago

This is an example website using Django.

Optionally I could have added another run that sets the admin password. What do you think?

remram44 commented 8 years ago

I can also run this in the cloud (AWS) with Docker:

remirampin@randy:/tmp$ docker-machine create --driver amazonec2 --amazonec2-access-key AKIAJWIIDMDVUVN2SOLA --amazonec2-secret-key nOTaCtuAlLYmyAWSKEy --amazonec2-zone=b aws01
Running pre-create checks...
Creating machine...
...

remirampin@randy:/tmp$ eval $(docker-machine env aws01)

remirampin@randy:/tmp$ reprounzip docker setup djangogirls_blog.rpz blog-aws/
Sending build context to Docker daemon 21.79 MB
Step 1 : FROM ubuntu:14.04
...
Successfully built b722c3ed4d01

remirampin@randy:/tmp$ reprounzip docker run --docker-option=-p --docker-option=80:8000 --detach blog-aws/
remram44 commented 8 years ago

Filed https://github.com/ViDA-NYU/reprozip/issues/181 to run websites in the cloud without keeping your terminal attached.

fchirigati commented 8 years ago

Cool! Please make sure you explain how to run this in the cloud! Super cool!

remram44 commented 8 years ago

How is this?

fchirigati commented 8 years ago

I made a few edits. Please take a final look and merge this at your earliest convenience!