Commit graph

44 commits

Author SHA1 Message Date
Jens Diemer
46b9f88781 Install Python with a python script ;)
Script comes from:

https://github.com/YunoHost-Apps/django_yunohost_integration/blob/main/django_yunohost_integration/install_python/install_python.py
2024-08-28 16:20:38 +02:00
Jens Diemer
38a3a1b1eb Try to fix backup/restore
see: https://ci-apps-dev.yunohost.org/ci/job/18484
2024-08-25 18:22:08 +02:00
Jens Diemer
3b516ed30c Bugfix "fill_basedata" call, move it after "migrate" call. 2024-08-02 21:23:01 +02:00
Jens Diemer
af4356b6f1 Bugfix "fill_basedata" call 2024-08-02 20:50:51 +02:00
Jens Diemer
484056d038 Add "description" to "yunohost service add" to remove warnings 2024-08-02 20:08:53 +02:00
Jens Diemer
2543fc53e2 Call "fill_basedata" manage command on install 2024-08-02 20:08:53 +02:00
Jens Diemer
8d6a4c87bc Install newer Python version
https://forum.yunohost.org/t/use-newer-python-than-3-9/22568
2024-08-02 19:26:30 +02:00
6bb88eaedb Use standard redis helpers 2024-05-20 16:20:24 +02:00
Jens Diemer
e3c844b4e4 Apply manageprojects updates 2023-11-26 13:06:24 +01:00
Jens Diemer
179765f117 Apply manageprojects updates
https://github.com/jedie/cookiecutter_templates/#base-django-yunohost-app migrated from Poetry to
pip-tools and to manifest v2

Apply these changes here.
2023-11-09 20:46:24 +01:00
Jens Diemer
8536e827a7 call fill_basedata in install step 2023-04-03 09:33:59 +02:00
Jens Diemer
78e059f95b projects updates 2023-04-02 20:42:18 +02:00
JensDiemer
2a5e9abd23 revert pkg_dependencies 2022-09-19 09:01:26 +02:00
JensDiemer
5db169b249 Update project setup from upstream 2022-09-18 19:03:11 +02:00
JensDiemer
9670b2ec6a rename systemd service file 2022-09-18 19:03:11 +02:00
JensDiemer
33bad5cb9f Bugfix file permissions in install/upgrade/restore 2022-04-15 16:39:12 +02:00
JensDiemer
a07e23020b Set db_name/db_user in upgrade, too 2022-04-15 16:38:32 +02:00
JensDiemer
67f4d47ea3 Always recreate fresh venv 2022-04-15 16:38:10 +02:00
JensDiemer
1a93d38e0c Set manage.py shebang to the own venv interpreter
so it's directly callable without activated venv!
2022-04-15 16:33:18 +02:00
JensDiemer
e875185a31 Pass $db_name / $db_user to django settings
Because they may be different to '__APP__' !
2022-04-15 16:30:50 +02:00
JensDiemer
674bb2ca25 install Cython to fix #15 2021-11-22 23:53:57 +01:00
JensDiemer
92f8c45db6 Fix #15 by use pip with "--prefer-binary"
See also: https://matplotlib.org/stable/users/installing/index.html
2021-11-22 23:41:01 +01:00
JensDiemer
2656f44309 remove not needed "--upgrade" 2021-11-22 23:17:51 +01:00
JensDiemer
0ea8bde688 Install/update python "wheel" package, too. 2021-11-22 23:17:51 +01:00
JensDiemer
f700180afb Use pip install with "--no-deps"
Work-a-round for https://github.com/pypa/pip/issues/9644

Any generally a good idea, because our "requirements.txt" should always contain all needed packages
;)
2021-11-22 22:46:52 +01:00
JensDiemer
dca8f22b69 Update and fixes 2021-10-10 16:19:47 +02:00
JensDiemer
c0036da888 use generic descriptions 2021-01-17 13:02:03 +01:00
JensDiemer
029cf7336e install via conf/requirements.txt 2021-01-17 12:00:46 +01:00
JensDiemer
c4a0e71ee6 update conf+scripts 2021-01-17 11:47:00 +01:00
JensDiemer
7b5d642437 use generic descriptions 2021-01-17 11:45:22 +01:00
JensDiemer
478b7d1a6e remove obsolete auth script 2021-01-17 11:44:25 +01:00
JensDiemer
c7c5aa877a use "create_superuser" from "django_ynh" 2021-01-17 11:43:40 +01:00
JensDiemer
91c1c4fbb0 fix restore: create log path and file before chown call 2020-12-23 18:44:41 +01:00
JensDiemer
b65dab64db Fix restore by calling chown for log file 2020-12-23 08:57:06 +01:00
JensDiemer
7d225c5663 Autenticate completely with SSOwat 2020-12-22 18:55:57 +01:00
JensDiemer
85b573046b restore $public_path, too 2020-12-22 18:55:27 +01:00
JensDiemer
a5cc74340c code style 2020-12-22 18:54:32 +01:00
JensDiemer
d7b014cbf6 fix change url by using $new_domain and $new_path in settings 2020-12-22 18:53:57 +01:00
JensDiemer
88de499e6d backup "$public_path", too 2020-12-22 18:53:02 +01:00
JensDiemer
8a9abca957 Bugfix change url script 2020-12-16 17:34:33 +01:00
JensDiemer
bc2b33b35d remove unused conf file 2020-12-12 20:35:49 +01:00
JensDiemer
90cba0e7bb Bugfix systemd config 2020-12-12 20:22:37 +01:00
JensDiemer
e1904475d4 Bugfix version variable 2020-12-12 20:17:51 +01:00
JensDiemer
94fc74cc02 init 2020-12-12 19:38:58 +01:00