ErikSvedin / ansible-vagrant-django-tutorial

sample repo to go with my tutorial on how to use ansible together with vagrant and django.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ansible-vagrant-django-tutorial

sample repo to go with my tutorial on how to use ansible together with vagrant and django.

Link to the tutorial: http://tech.willandskill.se/w-s-devops-part-1-5-introducing-ansible-and-vagrant/

Basic getting started:

Make sure you have vagrant and ansible installed.
$ vagrant up
$ ansible-playbook provision/deploy_django.yml

$ vagrant ssh
Inside the vagrant machine start django project:
@vagrant...$ cd /home/django
@vagrant...$ source env/bin/activate
@vagrant...$ python project/manage.py runserver 0.0.0.0:8000


From the host go to 127.0.0.1:8000 and enjoy!

About

sample repo to go with my tutorial on how to use ansible together with vagrant and django.


Languages

Language:Python 100.0%