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