From 0dd16132876045cc86fb45c618ef522fe360b020 Mon Sep 17 00:00:00 2001 From: Karl Hobley Date: Tue, 10 Feb 2015 10:01:43 +0000 Subject: [PATCH] Project template Vagrantfile now listens on port 8000 --- docs/getting_started/creating_your_project.rst | 6 +++--- docs/getting_started/installation.rst | 4 ++-- wagtail/project_template/Vagrantfile | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/getting_started/creating_your_project.rst b/docs/getting_started/creating_your_project.rst index 18aaa89be6..76559e5578 100644 --- a/docs/getting_started/creating_your_project.rst +++ b/docs/getting_started/creating_your_project.rst @@ -126,9 +126,9 @@ To setup the Vagrant box, run the following commands djrun -If you now visit http://localhost:8111 you should see a very basic "Welcome to your new Wagtail site!" page. +If you now visit http://localhost:8000 you should see a very basic "Welcome to your new Wagtail site!" page. -You can browse the Wagtail admin interface at: http://localhost:8111/admin +You can browse the Wagtail admin interface at: http://localhost:8000/admin You can read more about how Vagrant works at: https://docs.vagrantup.com/v2/ @@ -145,4 +145,4 @@ You can read more about how Vagrant works at: https://docs.vagrantup.com/v2/ ``djrun`` - This is short for ``python manage.py runserver 0.0.0.0:8000``. This is used to run the testing server which is accessible from ``http://localhost:8111`` (note that the port number gets changed by Vagrant) + This is short for ``python manage.py runserver 0.0.0.0:8000``. This is used to run the testing server which is accessible from ``http://localhost:8000`` (note that the port number gets changed by Vagrant) diff --git a/docs/getting_started/installation.rst b/docs/getting_started/installation.rst index f946eca8f1..1f0fc031cf 100644 --- a/docs/getting_started/installation.rst +++ b/docs/getting_started/installation.rst @@ -29,7 +29,7 @@ Then, within the SSH session:: ./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`. +This will make the demo site available on your host machine at the URL http://localhost:8000/ - you can access the Wagtail admin interface at http://localhost:8000/admin/ . Further instructions can be found at :ref:`editor_manual`. Once you’ve 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. @@ -78,7 +78,7 @@ Your site is now accessible at http://localhost:8000, with the admin backend ava ./manage.py createsuperuser ./manage.py runserver 0.0.0.0:8000 -Your site is now accessible at http://localhost:8111, with the admin backend available at http://localhost:8111/admin/ . +Your site is now accessible at http://localhost:8000, with the admin backend available at http://localhost:8000/admin/ . Optional extras =============== diff --git a/wagtail/project_template/Vagrantfile b/wagtail/project_template/Vagrantfile index 81f62e993e..ffd017f241 100644 --- a/wagtail/project_template/Vagrantfile +++ b/wagtail/project_template/Vagrantfile @@ -8,7 +8,7 @@ Vagrant::Config.run do |config| # Forward a port from the guest to the host, which allows for outside # computers to access the VM, whereas host only networking does not. - config.vm.forward_port 8000, 8111 + config.vm.forward_port 8000, 8000 # Share an additional folder to the guest VM. The first argument is # an identifier, the second is the path on the guest to mount the