Inventory of HSPOZ
- Python 49.4%
- HTML 27.1%
- CSS 19.5%
- Nix 4%
|
Igor
4f92e20653
Merge pull request 'Adding Technodzik Hackerspace inventory' ( #9 ) from yauhen/Inventory:main into main
Reviewed-on: #9 Reviewed-by: wilmhit <wilmhit@noreply.codeberg.org> |
||
|---|---|---|
| inventory | Adding Technodzik Hackerspace inventory | |
| src | Reformat __main__ | |
| .gitignore | gemini and nix shell | |
| .woodpecker.yml | Enable CI | |
| LICENSE | Initial commit | |
| README.md | docs: Adding instructions how to run web version locally | |
| requirements.txt | gemini and nix shell | |
| shell.nix | gemini and nix shell | |
Inventory
Inventory of HSPOZ
EN:
How to add your inventory
You will need to create a hjson file with you inventory items. This can look something like this:
{
owner: wilmhit
inventory: {
"Obiekt A": Prosty opis
"Obiekt B": {
# Tu można zrobić parę pól więcej
# Będą wyświetlane w formie tabelki
}
}
}
Example:
{
owner: wilmhit
inventory: {
"Klucz francuski": Krótki klucz francuski o regulacji od 5 do 25
"Projektor": {
Opis: '''
Tani projektor o rozdzielczości 1920x1080
i bardzo średniej lampie.
'''
"Aby pożyczyć": Parę dni wcześnieś wiadomość na priv
}
}
}
How to generate html
git clone https://codeberg.org/HSPOZ/Inventory.git/
cd Inventory
python -m venv ./venv
source ./venv/bin/activate
pip install -r requirements.txt
python src
View generated content locally
python -m http.server --directory generated 8000
navigate to http://localhost:8000