Websites hosted at dmz.rs and decentrala.org
Go to file
Marko 6804b556c6 requirements.txt added and README updated 2024-07-08 11:21:08 +02:00
pages fix link to statute on serbian version 2024-06-03 00:03:16 +02:00
site fix2 2024-06-27 19:14:25 +02:00
template donacije bi sad trebalo da se pojave 2024-04-15 21:03:12 +02:00
.gitignore Update `.gitignore` 2024-04-03 21:21:54 +02:00
LICENCE add README and LICENCE 2023-07-31 15:39:00 +02:00
README.md requirements.txt added and README updated 2024-07-08 11:21:08 +02:00
atom_gen.py bice vremena za blog, ja moram stranicu za donacije da pravim 2024-04-15 20:40:48 +02:00
blog.py and shebangs and make all scripts executable 2023-09-27 16:47:55 +02:00
build_pages.py donacije bi sad trebalo da se pojave 2024-04-15 21:03:12 +02:00
dogadjaji.csv fix 2024-07-07 18:24:03 +02:00
image_poster.py fix pad and dark poster mesh color in imageposter 2024-06-01 17:25:16 +02:00
nginx.dev.conf Reorganize project. Page builder. Support for EN 2023-08-07 13:29:42 +02:00
poster.py and shebangs and make all scripts executable 2023-09-27 16:47:55 +02:00
prep.py add gig to events 2024-07-07 13:13:51 +02:00
requirements.txt requirements.txt added and README updated 2024-07-08 11:21:08 +02:00

README.md

Decentrala

Redisign of dmz.rs .

Setup Python environment

Run

python -m venv venv
pip install -r requirements. txt

Build site

Run

python atom_gen.py
python prep.py
python build_pages.py

Complete website will be contained in site/. You can copy this to server.

Development server

To start a development server, first build site, then run (possibly with sudo)

nginx -p . -c nginx.dev.conf

To stop it:

nginx -p . -s stop

TODO:

  • create page builder
    • rename prep.py to more informative name (build_events.py)
  • create blogging system
  • create xmpp bot that connects to events section.
  • webring system
    • make page
    • populate page
  • make english version
    • double check spelling and wording
  • add account and donations page and style them with the site style

Note

If you in any way change the requirements for the project when submitting, run the command below, so the requirements.txt is updated accordingly.

pip freeze > requirements.txt