magcms/docs/build.rst

32 lines
565 B
ReStructuredText
Raw Permalink Normal View History

2016-04-18 14:25:38 +02:00
Build the website
=================
2017-05-05 16:52:12 +02:00
Generate
--------
2016-04-18 14:25:38 +02:00
**Note: You need to be in an activated virtualenv.**
In a folder containing the **root** settings.yaml file, simply do::
prosopopee
A `build` folder will be created in the current directory, containing an
index.html, static files (css & js) and pictures.
2017-05-05 16:52:12 +02:00
Preview
-------
In a root folder launch this command::
prosopopee preview
Then, you can check your website at http://localhost:9000
2017-05-05 16:52:12 +02:00
Deployment
----------
Prosopopee can upload your website with rsync, to do so, run::
2017-05-05 16:52:12 +02:00
prosopopee deploy