forked from pretix/pretix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Update package on TobTic.txt
44 lines (31 loc) · 1.01 KB
/
Update package on TobTic.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
På servern
su - pretix
source /var/pretix/venv3/bin/activate
pip3 install -U "git+https://github.com/tobiassundgren-collector/pretix.git#egg=pretix&subdirectory=src"
pip install -r requirements.txt
python -m pretix migrate
python -m pretix rebuild
python -m pretix updatestyles
exit
systemctl restart pretix-web pretix-worker
// Uppgradera tobtic-modulen
pip3 install -U "git+https://github.com/tobiassundgren-collector/pretix-tobtic#egg=pretix-tobtic"
Lokalt
* öppna Ubuntu för windows
source env/bin/activate
cd /mnt/c/Repos/tobtic/pretix/src/
python manage.py runserver
Hämta från Pretix för att uppdatera lokalt
* öppna Ubuntu för windows
source env/bin/activate
cd /mnt/c/Repos/tobtic/pretix/src/
git pull https://github.com/pretix/pretix release/3.1.x
python -m pretix migrate
python -m pretix rebuild
python -m pretix updatestyles
python manage.py runserver
* Modules
python setup.py develop
python setup.py develop --uninstall
* Pull changes from remote
git pull https://github.com/pretix/pretix.git v3.5.0