This is the repo for the Netplan site
The recommended way to run the site locally uses Task for dependency management and task automation.
Prerequisites:
- Task installed
Setup and run:
# install Task
sudo snap install task --classic
# Start the development server with watch mode
task startThis will build the CSS/JS and start the Flask server at http://127.0.0.1:8024. Changes to Sass/JS files will automatically rebuild.
Useful tasks:
task build- Build CSS and JavaScript assetstask watch- Watch for file changes and rebuild assets (run in separate terminal)task serve- Run the Flask server onlytask test- Run all teststask lint- Run linters (Python, JS, SCSS)task format- Format Python codetask clean- Remove build artifacts and dependenciestask clean-all- Complete environment reset
Prerequisites:
- dotrun installed
# at project root
dotrunOnce the containers are setup, you can visit http://127.0.0.1:8024 in your browser.
You can find the deployment config in the deploy folder.