Give devserver its own make target

Restore "make serve" to a non-backgrounded SimpleHTTPServer process and
give the develop_server.sh its own make target at "make devserver".
Add a few missing make targets to the help list and re-order targets for
consistency. Add note to docs regarding how to stop the devserver.
This commit is contained in:
Justin Mayer 2012-08-05 17:25:39 -07:00
commit 0c02536605
2 changed files with 25 additions and 9 deletions

View file

@ -107,11 +107,21 @@ instead::
$ make regenerate
To serve the site so it can be previewed in your browser::
To serve the site so it can be previewed in your browser at
http://localhost:8000::
$ make serve
Visit http://localhost:8000 in your browser to see your site.
Normally you would need to run ``make regenerate`` and ``make serve`` in two
separate terminal sessions, but you can run both at once via::
$ make devserver
The above command will simultaneously run Pelican in regeneration mode as well
as serve the output at http://localhost:8000. Once you are done testing your
changes, you should stop the development server via::
$ ./develop_server stop
When you're ready to publish your site, you can upload it via the method(s) you
chose during the ``pelican-quickstart`` questionnaire. For this example, we'll