2023-05-05 10:55:05 +00:00
|
|
|
# Decentrala
|
|
|
|
|
|
|
|
Redisign of dmz.rs .
|
|
|
|
|
2024-07-08 09:15:07 +00:00
|
|
|
## Setup Python environment
|
|
|
|
|
|
|
|
Run
|
|
|
|
|
|
|
|
```
|
|
|
|
python -m venv venv
|
|
|
|
pip install -r requirements. txt
|
|
|
|
```
|
2023-08-07 11:29:42 +00:00
|
|
|
## 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
|
|
|
|
2023-08-07 11:29:42 +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
|