Commit graph

27 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
484056d038 Add "description" to "yunohost service add" to remove warnings 2024-08-02 20:08:53 +02: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
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
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
7d225c5663 Autenticate completely with SSOwat 2020-12-22 18:55:57 +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
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