项目作者: Externoak

项目描述 :
Vagrant + Ansible + Django
高级语言: Python
项目地址: git://github.com/Externoak/Vagrant-Django-CMS.git
创建时间: 2016-12-14T19:46:46Z
项目社区:https://github.com/Externoak/Vagrant-Django-CMS

开源协议:GNU General Public License v3.0

下载


Vagrant-Django

Vagrant + Django (No known issues)

This machine contains: MySQL, Apache, PHP, Python, Django and Nodejs.

How to setup:

  1. git clone https://github.com/Externoak/Vagrant-Django-CMS.git
  2. cd Vagrant-Django-CMS
  3. vagrant up

Once vagrant has finish everything should be working perfectly.

This machine will automatically have a working server on IP assigned to the machine on port :8000

Start your own project in Django.

If you want to create your own project follow these steps:

  1. vagrant ssh
  2. cd django_cms

W/O Quotes.

  1. django-admin.py startproject Name of your Project
  2. cd Name of your Project
  3. sudo python manage.py runserver IP:PORT

Allowhost error:
If your’e getting Allowhost error you must modify the following.

  1. sudo nano Name of your Project”/settings.py
  2. Modify ALLOWED_HOSTS = ['"Your IP"']