website/README.md

59 lines
1.0 KiB
Markdown

# 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:
- [x] 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
- [x] make page
- [ ] populate page
- [x] 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
```