website/README.md

1.0 KiB

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