Added wagtaildemo section back

pull/986/head
Karl Hobley 2015-02-12 09:01:37 +00:00
rodzic 88753e4370
commit f52203ec39
3 zmienionych plików z 19 dodań i 4 usunięć

Wyświetl plik

@ -78,6 +78,4 @@ Firstly, open up a command line shell in your new projects directory.
Using Vagrant
-------------
TODO
:doc:`using_vagrant`

Wyświetl plik

@ -50,8 +50,6 @@ To check that Wagtail can be seen by Python. Type ``python`` in your shell then
.. code-block:: python
>>> import wagtail
>>> print(wagtail.get_version())
0.9
Optional extras

Wyświetl plik

@ -6,6 +6,25 @@ Trying Wagtail
Wagtail demo
============
We provide a demo site containing a set of standard templates and page types - if you're new to Wagtail, this is the best way to try it out and familiarise yourself with how Wagtail works from the point of view of an editor.
If you're happy to use Vagrant, and you just want to set up the Wagtail demo site, or any other pre-existing Wagtail site that ships with Vagrant support, you don't need to install Wagtail at all. Install `Vagrant <http://www.vagrantup.com/>`__ and `VirtualBox <https://www.virtualbox.org/>`__, and run::
git clone https://github.com/torchbox/wagtaildemo.git
cd wagtaildemo
vagrant up
vagrant ssh
Then, within the SSH session::
./manage.py createsuperuser
./manage.py runserver 0.0.0.0:8000
This will make the demo site available on your host machine at the URL http://localhost:8111/ - you can access the Wagtail admin interface at http://localhost:8111/admin/ . Further instructions can be found at :ref:`editor_manual`.
Once youve experimented with the demo site and are ready to build your own site, it's time to install Wagtail on your host machine. Even if you intend to do all further Wagtail work within Vagrant, installing the Wagtail package on your host machine will provide the ``wagtail start`` command that sets up the initial file structure for your project.
One line install