pip install nova-frameworkFor the latest development version:
pip install git+https://github.com/iiPythonx/novaWarning
Nova 0.11 introduces some experimental features, you might experience bugs.
To initialize a Nova project, just run nova init and follow the instructions:
🚀 Nova 0.14 | Project Initialization
Source location (default: src): src/
Destination location (default: dist): dist/Afterwards, put your Jinja2 and other assets inside your configured source folder.
Run nova build to get a static site built for production in your destination path.
Run nova serve to serve a static build of your site.
Run nova serve --reload to get a hot-reloading capable web server.
All project configuration should be put inside of nova.toml in your working directory.
# optional
[flags]
reload = true
open = true[project]
mapping = "source_path:destination_path"
# optional
after-build = "bash /etc/somescript.sh"See PLUGINS.md.
GIT_HASH- The full Git SHA of the current repo, updated once per build.- If git is not installed, or no
.gitfolder is found,GIT_HASHwill be a blank string.
- If git is not installed, or no
Ensure you have uvloop installed:
pacman -S libuv
dnf install libuv
apt install libuv1