31 lines
405 B
Markdown
31 lines
405 B
Markdown
# zhv
|
|
|
|
* checkout repository
|
|
```
|
|
cd ~
|
|
mkdir ~/git && cd ~/git
|
|
git clone https://git.wtf-eg.de/dancesWithCycles/zhv.git
|
|
cd ~/git/zhv
|
|
```
|
|
|
|
* configure cron
|
|
```
|
|
cat dload/crontab
|
|
crontab -e
|
|
crontab -l
|
|
```
|
|
|
|
* make sure to set variables like `PGDATABASE`, `PGUSER`, `PGHOST`, `PGPORT` aaso. appropriately
|
|
|
|
* initialize database
|
|
|
|
```
|
|
make init
|
|
```
|
|
|
|
* load database
|
|
|
|
```
|
|
cd ~/git/zhv
|
|
make copy ZHV=<CSV file>
|
|
``` |