SGELT: Site GEnerator for Labs and Teams
Project description
SGELT: Site GEnerator for Labs and Teams
Installation
- Create a python virtual environment :
virtualenv .venv/
- Activate it
source .venv/bin/activate
- Install the package and its dependencies :
pip install sgelt
Build a website
Files organization
config.ymldescribes the site configurationcontent/dir contains markdown filesagenda.jsoncontains all events datateams.jsoncontains teams data
Edit content
- setup configuration in
config.yml - edit
content/dir. - generate json data files
Build and serve
To build all site files, run :
sgelt
in the project directory.
Output files will be written in output/ dir.
Build and serve
To serve the website and rebuild automatically when the content has changed:
sgelt -a -s
To open the homepage in a web browser, add:
sgelt -a -s -b
Get help with CLI
sgelt -h
Tests
Run tests using tox
Tox setup the appropriate environments and run tests using pytest:
pip install tox # install tox
tox # run
Run tests using pytest
pip install -e .[tests] # install dependencies for tests
pytest -sv tests/ # run tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sgelt-4.9.0.tar.gz.
File metadata
- Download URL: sgelt-4.9.0.tar.gz
- Upload date:
- Size: 437.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d5223e276f545b02b71de0b8bea1aa3b71bf0e7e0b07e4333bbeb2bfa4fabc5
|
|
| MD5 |
af72ff54d24cb0d25b3b01c4dd4ea455
|
|
| BLAKE2b-256 |
4ba596d236a32e98290a8959db4a7ee70b980e2f6eee8c595b5122c734f0034a
|
File details
Details for the file sgelt-4.9.0-py3-none-any.whl.
File metadata
- Download URL: sgelt-4.9.0-py3-none-any.whl
- Upload date:
- Size: 426.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c311a7b6dd8a4287668814cd58484941f860f64926d479a6b8ad148cf4e672b
|
|
| MD5 |
5f11e1c55b08cf03f42eb408fd31216e
|
|
| BLAKE2b-256 |
010e65c6270723ec3647f613e863d80823113f3ba3b7ddb08a3d05caf262eb76
|