Build the website¶
For build your website there are two way:
- Auto generation
- Self made
If you want do all by your self and make custom gallery and use many section, you need follow https://prosopopee.readthedocs.io/en/latest/configuration.html#gallery-settings-yaml
But if is just for make gallery with only picture you can generate it automatically.
You need
- Create a folder
- Put all pics you want
- Create settings.yaml file in the folder
- Add title, date and cover key in folder/settings.yaml
- Use prosopopee autogen -d folder
Generate¶
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.
Preview¶
In a root folder launch this command:
prosopopee preview
Then, you can check your website at http://localhost:9000
You can also provide custom port for the webserver:
prosopopee preview -p 8080
And proceed to http://localhost:8080