mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Document how to use a publish configuration
Explain how to import settings from pelicanconf.py into publishconf.py.
This commit is contained in:
parent
940eb76b7f
commit
551909893e
1 changed files with 9 additions and 0 deletions
|
|
@ -61,6 +61,15 @@ feeds, etc.) that you may have defined::
|
||||||
|
|
||||||
pelican content -s publishconf.py
|
pelican content -s publishconf.py
|
||||||
|
|
||||||
|
To base your publish configuration on top of your ``pelicanconf.py``, you
|
||||||
|
can import your ``pelicanconf`` settings by including the following line in
|
||||||
|
your ``publishconf.py``::
|
||||||
|
|
||||||
|
from pelicanconf import *
|
||||||
|
|
||||||
|
If you have generated a ``publishconf.py`` using ``pelican-quickstart``,
|
||||||
|
this line is included by default.
|
||||||
|
|
||||||
The steps for deploying your site will depend on where it will be hosted.
|
The steps for deploying your site will depend on where it will be hosted.
|
||||||
If you have SSH access to a server running Nginx or Apache, you might use the
|
If you have SSH access to a server running Nginx or Apache, you might use the
|
||||||
``rsync`` tool to transmit your site files::
|
``rsync`` tool to transmit your site files::
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue