Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A tool for deploying Django Web Apps to remote servers

Project Description
=============================================
Yurt: A Deployment Script powered by Ansible.
=============================================

Last Updated: June 1st, 2016
----------------------------

Supported on Mac OSX 10.11 (El Capitan)

A collection of commands for generating a new Django project (running Python 3) and
deploying using Ansible to either a Vagrant or web host instance.

.. image:: https://travis-ci.org/yeti/yurt.svg?branch=master
:target: https://travis-ci.org/yeti/yurt

Dependencies
------------
- Vagrant
- Python 2.7

Setup
-----
.. code-block:: shell

pip install yak-yurt
vagrant plugin install vagrant-vbguest

Usage
-----

- Get HELP for a Yurt command
.. code-block:: shell

yurt deploy --help


- Create a Django project and a Vagrant VM instance

.. code-block:: shell

cd new_proj
yurt new_project (--git_repo=<git repo link>) (--vault)

- Adds a remote server target to the Django project

.. code-block:: shell

cd new_proj
yurt remote_server (--help)

- Deploys to a remote server target (must be inside the Django project git repo)

.. code-block:: shell

cd new_proj/project_repo
yurt deploy

- Setup a Yurt-started project (git ssh link required)

.. code-block:: shell

cd new_proj
yurt existing (--git_repo=<git repo link>)

- Create a JSON file with Vault credentials (experimental)

.. code-block:: shell

cd new_proj
yurt vault (--dest=<destination directory>)


Notes on Project Structure
--------------------------
- After running either ``yurt existing`` or ``yurt new_project`` inside an empty directory ("new_proj") this is the structure:

.. code-block:: shell

new_proj
|_ Vagrantfile
|_ project_repo
|_ manage.py
|_ requirements.txt
|_ config
| |_ settings
| | |_ base.py
| | |_ local.py
| |
| |_ urls.py
| |_ wsgi.py
|
|_ orchestration
|_ env_vars
| |_ base.yml
| |_ vagrant.yml
|
|_ inventory
| |_ vagrant
|
|_ roles
| |_ {{ all the Ansible roles }}
|
|_ appservers.yml
|_ dbservers.yml
|_ site.yml
|_ vagrant.yml

Vagrant Notes
-------------
- Use the command ``vagrant ssh`` to SSH into the Vagrant VM
- On the Vagrant VM, the application code is in ``/server/<project_name>`` and the virtualenv is in ``/server/.virtualenvs/<project_name>``
- VM is provisioned with Ansible for the first time when calling ``vagrant up``
- Re-provisioning with Ansible can be called with ``vagrant provision``



Release History

Release History

This version
History Node

0.1.16

History Node

0.1.15

History Node

0.1.14

History Node

0.1.13

History Node

0.1.12

History Node

0.1.11

History Node

0.1.10

History Node

0.1.9

History Node

0.1.8

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

History Node

0.1.dev50

History Node

0.1.dev49

History Node

0.1.dev48

History Node

0.1.dev42

History Node

0.1.dev41

History Node

0.1.dev40

History Node

0.1.dev39

History Node

0.1.dev38

History Node

0.1.dev37

History Node

0.1.dev36

History Node

0.1.dev35

History Node

0.1.dev34

History Node

0.1.dev33

History Node

0.1.dev32

History Node

0.1.dev31

History Node

0.1.dev30

History Node

0.1.dev29

History Node

0.1.dev28

History Node

0.1.dev27

History Node

0.1.dev26

History Node

0.1.dev25

History Node

0.1.dev24

History Node

0.1.dev23

History Node

0.1.dev22

History Node

0.1.dev21

History Node

0.1.dev20

History Node

0.1.dev19

History Node

0.1.dev18

History Node

0.1.dev17

History Node

0.1.dev16

History Node

0.1.dev15

History Node

0.1.dev14

History Node

0.1.dev13

History Node

0.1.dev12

History Node

0.1.dev11

History Node

0.1.dev10

History Node

0.1.dev9

History Node

0.1.dev8

History Node

0.1.dev7

History Node

0.1.dev6

History Node

0.1.dev5

History Node

0.1.dev4

History Node

0.1.dev3

History Node

0.1.dev2

History Node

0.1.dev1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
yak_yurt-0.1.16-py2-none-any.whl (50.3 kB) Copy SHA256 Checksum SHA256 py2 Wheel Apr 18, 2017
yak-yurt-0.1.16.tar.gz (18.6 kB) Copy SHA256 Checksum SHA256 Source Apr 18, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting