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
```
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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-vagrantize-0.1.0.tar.gz
.
File metadata
- Download URL: django-vagrantize-0.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37b0dfa2971432e549c112fc0653cd3dcfe435b5ac9686113299b759d8a91a0f |
|
MD5 | 6296cb0598ab1485b91146456d48d09b |
|
BLAKE2b-256 | 2a2e0c3bd9201dfde5128b5494afe89044df74b2d83c3bd64bc85099275f98c7 |
File details
Details for the file django_vagrantize-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: django_vagrantize-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c583998a737995ae350ce617ddee121c7056e42e06dee1d5f889170e7ef2b6c8 |
|
MD5 | 4d1801fc84e51afe9d4ec2e401d18e22 |
|
BLAKE2b-256 | 1f9878b852cc8bfd21bfe425095dd3f45d797352c1b96a772f3ae3cddc9b496e |