Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 843 Bytes

readme.md

File metadata and controls

30 lines (20 loc) · 843 Bytes

{% if False %}

Wagtail template

Setup

Make sure that you have Django installed on your machine.

To start a new project, run the following commands::

django-admin.py startproject shortname --template=https://github.com/torchbox/wagtail-template/zipball/master --name=Vagrantfile,Dockerfile --ext=html,rst,md,pp,ini
cd shortnamewagtail
vagrant up
vagrant ssh
  (then, within the SSH session:)
dj createsuperuser
djrun

Where 'shortname' is the acronym for your project. So London Sport would be 'ls'.

This will make the app accessible on the host machine as http://localhost:8000/ . The codebase is located on the host machine, exported to the VM as a shared folder; code editing and Git operations will generally be done on the host.

{% endif %}

{{ project_name }}