mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge branch 'master' of github.com:getpelican/pelican
This commit is contained in:
commit
30b8a2069e
1 changed files with 9 additions and 2 deletions
|
|
@ -36,12 +36,19 @@ HTML files directly::
|
||||||
|
|
||||||
Because the above method may have trouble locating your CSS and other linked
|
Because the above method may have trouble locating your CSS and other linked
|
||||||
assets, running a simple web server using Python will often provide a more
|
assets, running a simple web server using Python will often provide a more
|
||||||
reliable previewing experience::
|
reliable previewing experience.
|
||||||
|
|
||||||
|
For Python 2, run::
|
||||||
|
|
||||||
cd output
|
cd output
|
||||||
python -m SimpleHTTPServer
|
python -m SimpleHTTPServer
|
||||||
|
|
||||||
Once the ``SimpleHTTPServer`` has been started, you can preview your site at
|
For Python 3, run::
|
||||||
|
|
||||||
|
cd output
|
||||||
|
python -m http.server
|
||||||
|
|
||||||
|
Once the basic server has been started, you can preview your site at
|
||||||
http://localhost:8000/
|
http://localhost:8000/
|
||||||
|
|
||||||
Deployment
|
Deployment
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue