Project template Vagrantfile now listens on port 8000

pull/978/head
Karl Hobley 2015-02-10 10:01:43 +00:00
rodzic 01534c99c0
commit 0dd1613287
3 zmienionych plików z 6 dodań i 6 usunięć

Wyświetl plik

@ -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)

Wyświetl plik

@ -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 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.
@ -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
===============

Wyświetl plik

@ -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