63 lines
1.2 KiB
Markdown
63 lines
1.2 KiB
Markdown
# Decentrala
|
|
|
|
[dmz.rs](https://dmz.rs/) / [decentrala.org](https://decentrala.org) website
|
|
|
|
## Setup
|
|
|
|
First, prepare the virtual environment and install dependencies:
|
|
|
|
```sh
|
|
make prep
|
|
```
|
|
|
|
## Build site
|
|
|
|
To build the complete website:
|
|
|
|
```sh
|
|
make build
|
|
```
|
|
|
|
The complete website will be contained in `site/`. You can copy this to your server.
|
|
|
|
## Development server
|
|
|
|
To start a development server, first build the site, then run (possibly with `sudo`):
|
|
|
|
```sh
|
|
make dev
|
|
```
|
|
|
|
To stop it:
|
|
|
|
```sh
|
|
make stop
|
|
```
|
|
|
|
## Events
|
|
|
|
To update events, update `dogadjaji.csv` then run:
|
|
|
|
```sh
|
|
make events
|
|
```
|
|
|
|
For checking the csv data, suggestion is the [tennis pkg](https://github.com/gurgeous/tennis), with example command:
|
|
```sh
|
|
tennis -nt --zebra --color on --theme dark --tail 20 dogadjaji.csv
|
|
```
|
|
|
|
|
|
## TODO:
|
|
|
|
- [x] create page builder
|
|
- [x] rename `prep.py` to more informative name (`build_events.py`)
|
|
- [x] create xmpp bot that connects to events section.
|
|
- [ ] create blogging system
|
|
- [ ] webring system
|
|
- [x] make page
|
|
- [ ] populate page
|
|
- [x] make english version
|
|
- double check spelling and wording
|
|
- [x] add account and donations page and style them with the site style
|