2014-07-15 16:05:01 +02:00
|
|
|
.. _getting_started:
|
|
|
|
|
|
|
|
===============
|
|
|
|
Getting started
|
|
|
|
===============
|
|
|
|
|
|
|
|
Installing Wagtail
|
|
|
|
==================
|
|
|
|
|
|
|
|
From PyPI
|
|
|
|
---------
|
|
|
|
|
|
|
|
This is recommended for stability.
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
pip install wagtail
|
|
|
|
|
|
|
|
|
|
|
|
From Github
|
|
|
|
-----------
|
|
|
|
|
|
|
|
This will give you the latest development version of Wagtail.
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
pip install -e git://github.com/torchbox/wagtail.git#egg=wagtail
|
|
|
|
|
|
|
|
|
|
|
|
The ``wagtail-project`` command
|
|
|
|
===============================
|
|
|
|
|
|
|
|
.. versionadded:: 0.5
|
|
|
|
|
|
|
|
Once you have Wagtail installed on your host machine, you can use the ``wagtail-project`` command.
|
|
|
|
|
|
|
|
Usage:
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
wagtail-project <project name>
|
|
|
|
|
|
|
|
|
|
|
|
This command will setup a skeleton Wagtail project with the following features installed:
|
|
|
|
|
|
|
|
- A core app with migrations to replace the default Homepage
|
|
|
|
- Base templates (base, 404, 500)
|
|
|
|
- Vagrant configuration
|
|
|
|
- Fabfile
|
|
|
|
- Docs directory (with Sphinx configuration)
|
|
|
|
- Split up settings configuration (different settings for dev and production)
|
|
|
|
- Requirements
|
2014-07-31 11:14:31 +02:00
|
|
|
|