magcms/docs/build.rst

32 lines
565 B
ReStructuredText
Raw 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
After you can check your website on http://localhost:9000
Deployment
----------
Prosopopee can upload your website with rsync, for do it run::
prosopopee deploy