Skip to content

simple django deploy with nginx+uwsgi+postgresql using ansible and vagrant

Notifications You must be signed in to change notification settings

wadobo/django-ansible

Repository files navigation

django-ansible

simple django deploy with nginx+uwsgi+postgresql using ansible and vagrant

How to use

  • Change the playbook.yml settings your project vars
  • Change the repo.yml file and adapt it to your project

Vagrant

Remote Machine

This stuff is for ubuntu, to use in other distro, please, fix this shit and send me a patch.

To run in a remote machine:

  • Create an inventory file with one server ip or domain per line
  • $ ansible-playbook playbook.yml -i inventory
  • Take a look to the doc to know more about ansible inventory files http://docs.ansible.com/intro_inventory.html
  • Profit!

Warning!

This deployment copies your .ssh directory to the remote host to be able to download the repo. So if you don't control the remote server change the user.yml to copy other ssh directory with repo download privileges.

About

simple django deploy with nginx+uwsgi+postgresql using ansible and vagrant

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages