Update Installation Scratchbook authored by Martin Pollet's avatar Martin Pollet
......@@ -10,15 +10,18 @@ flush privileges;
4. Prepare Django (as user xbs):
- `git clone https://gitlab.pollet-computer.de/polly/xibo-booking-system.git`
- choose db driver in requirements.txt
- configure database in settings.py
- configure database and allowed hosts in settings.py
```
python3 -m venv venv
source venv/bin/activate
pip install -r xibo-booking-system/requirements.txt
pushd xibo-booking-system/src
source ~/venv/bin/activate
pip install -r ~/xibo-booking-system/requirements.txt
cd ~/xibo-booking-system/src
python3 manage.py makemigrations booking_system
python3 manage.py migrate
python3 manage.py createsuperuser
mkdir -p ~/.config/systemd
cd ~/.config/systemd
ln -s ~/xibo-booking-system/systemd user
```
......
......