VictorPy 0.1.32 comes with a few command line tools.
When working on your content, you don't want to manually rebuild your site content every time you make a single change.
You may want to use the live server, which will:
In a terminal, make sure you are in your project root folder, and then type:
$ victorpy serve
victorpy
to start the live server.
VictorPy 0.1.32 should start quickly, build your site in memory, serve it and display a few messages on the console:
INFO VictorPy
INFO * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
By now, you site is live locally!
Open a browser at http://127.0.0.1:5000/ and see what you get…
-p
(or --port
) option.
The building process allows you to create your site HTML files, ready to upload to your server:
$ victorpy build
The site if built in the public
directory (see Configuration to change this directory).