website/README.md

59 lines
1.0 KiB
Markdown
Raw Normal View History

2023-05-05 10:55:05 +00:00
# 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
```
2023-08-06 13:50:12 +00:00
## TODO:
2023-05-05 10:55:05 +00:00
- [x] create page builder
2023-08-30 11:00:09 +00:00
- rename `prep.py` to more informative name (`build_events.py`)
2023-08-06 13:50:12 +00:00
- [ ] create blogging system
- [ ] create xmpp bot that connects to events section.
- [ ] webring system
- [x] make page
- [ ] populate page
2023-08-30 11:00:09 +00:00
- [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
```