There are three ways you can use this repository:
-
run the django site local:
-clone the repo
-in terminal go to /demo
-python -m pip install -r requirements.txt
-python manage.py runserver -
Run Via the Docker Image posted to Docker:
docker pull ibmsparkna/django
docker run -p 8000:8000 ibmsparkna/django -
Build your own docker image, for example
-clone repo
-run: docker build -t tag/name .
-run image: docker run -p 8000:8000 tag/name -
Bluemix - After Creating your Python Service: bx login (select the proper org, area, etc.) bx app push django_demo -c "sh run.sh" (replace django_demo with your Bluemix app name)