Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Run Django dev server from VM

Project description

# Vagrantize

Vagrantize is a simple Django app that adds a shortcut `run` management
command that will run the Django debug server on an externally visible
port. It is just a shortcut for Django's builtin `runserver` command that
is useful when doing development on a Django project using a Vagrant VM.
It is basically just shorthand for `python manage.py runserver 0.0.0.0:8000`.
## Installation

Install using pip:

```bash
pip install django-vagrantize
```

## Quick Start

1. Add "vagrantize" to your `INSTALLED_APPS`:

```python
INSTALLED_APPS = (
...
'vagrantize',
)
```

2. Run the Django server using the `run` command:

```bash
python manage.py run
```

Your application should be reachable at http://localhost:8000
*on the host machine*.

You may also specify an alternate port:

```bash
python manage.py run 8080
```

Project details


Release history Release notifications

This version
History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django_vagrantize-0.1.0-py2.py3-none-any.whl (4.2 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Mar 29, 2015
django-vagrantize-0.1.0.tar.gz (2.8 kB) Copy SHA256 hash SHA256 Source None Mar 29, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page