Docker meetup
Django Deployement Steps:
- Activate the dev environment: source bin/activate
- Create the Docker file
- ibmcloud cr build -t registry.ng.bluemix.net/vthink/djangoapp1:2 . (Build the docker image for the folder)
- Run the django image pushed on to IBM Cloud (kubectl run djangosvc1 --image=registry.ng.bluemix.net/vthink/djangoapp:1)
- At this point the django deployment is created, now expose it
- kubectl expose deployment/django --type=NodePort --name=djangoappsvc --port=8000