Commit graph

46 commits

Author SHA1 Message Date
JensDiemer
57c0a5a911 Just remove "description" from "yunohost service add"
See: https://forum.yunohost.org/t/generic-yunohost-service-add/20863
2022-08-24 17:26:57 +02:00
JensDiemer
2ed9ce6ffb Update to django-yunohost-integration==0.4.0rc1 and remove own validation 2022-08-24 11:03:42 +02:00
JensDiemer
16975c2fd2 unify ynh_script_progression 2022-08-24 08:04:05 +02:00
JensDiemer
4a86b144f6 Change ynh_script_progression to more generic wording 2022-08-23 17:48:51 +02:00
JensDiemer
6bb52aef8c ynh_exec_as() exists 2022-08-23 17:48:51 +02:00
JensDiemer
e0b23c010c Bugfix change_url 2022-08-15 17:15:31 +02:00
JensDiemer
78d9ce5420 use generic comments 2022-08-15 17:15:24 +02:00
JensDiemer
864958888e log_file="${log_path}/${app}.log" 2022-08-15 17:15:13 +02:00
JensDiemer
a180513b17 Add DEFAULT_FROM_EMAIL to config panel settings 2022-08-15 09:51:07 +02:00
JensDiemer
768ed7f24a Add '__ADMIN_EMAIL__' to config_panel.toml settings 2022-08-15 09:31:06 +02:00
JensDiemer
9b4805a56d cleanup 2022-08-15 09:02:06 +02:00
JensDiemer
82638455bd Add '__LOG_LEVEL__' config_panel.toml settings 2022-08-15 09:02:06 +02:00
JensDiemer
363a93f205 Set settings.DEBUG via config_panel.toml 2022-08-14 20:40:33 +02:00
JensDiemer
1f0a6c7a86 Get adminmail via ynh_user_get_info 2022-08-14 20:40:33 +02:00
JensDiemer
119886845b update links to helpers 2022-08-14 17:49:27 +02:00
JensDiemer
3d814d57dc fix "$final_path/local_settings.py" 2022-08-14 17:22:59 +02:00
JensDiemer
9f169cd1a4 Revert path change: Keep '__FINALPATH__' and '__PUBLIC_PATH__'
Install the app project into: '__FINALPATH__' -> `/opt/yunohost/$app`
Store files to serve via nginx in: '__PUBLIC_PATH__' -> `/var/www/$app`
2022-08-14 17:17:43 +02:00
JensDiemer
3b4984871a __FINAL_HOME_PATH__ and __FINAL_WWW_PATH__ -> __FINALPATH__ 2022-08-14 15:11:52 +02:00
JensDiemer
7a10831b8e conf/{django_example_ynh.service => systemd.service} 2022-08-14 14:26:16 +02:00
JensDiemer
f2614b1d9b -is_public 2022-08-14 14:13:38 +02:00
JensDiemer
d343cf38b1 -ynh_webpath_available 2022-08-14 14:11:26 +02:00
JensDiemer
bf0b8b79d0 Update YunoHost scripts 2022-08-14 13:59:26 +02:00
JensDiemer
fd580bda98 simplify install with changes manage.py shebang 2022-08-14 13:41:33 +02:00
JensDiemer
aa542026d0 Stabilize database settings if "ynh_sanitize_dbid" change the "app name" 2022-08-14 13:41:33 +02:00
JensDiemer
2e937f4a24 Change "manage.py" shebang and use always the right venv python 2022-08-14 13:41:33 +02:00
JensDiemer
34a2bc74a7 Tweak ynh_script_progression weights 2022-08-14 13:41:33 +02:00
JensDiemer
f19aa753c1 Bugfix file permissions 2022-08-14 13:41:33 +02:00
JensDiemer
f9fd753e4b Work-a-round: Split venv creation by using "--without-pip" and later "ensurepip"
See: https://github.com/YunoHost/issues/issues/1960
2022-08-14 13:41:33 +02:00
JensDiemer
d922d27119 Fix file permissions 2021-10-10 12:14:54 +02:00
JensDiemer
c448b138b1 Add "libpq-dev" packages, because it's needed for python postgres package 2021-09-15 18:56:51 +02:00
JensDiemer
a8164a2905 WIP: rename/split from django_ynh
See discussion here: https://github.com/YunoHost-Apps/django_ynh/pull/13

Corresponding to: https://github.com/jedie/django_yunnohost_integration/pull/1
2021-02-28 12:07:48 +01:00
JensDiemer
119789364c Make some dependencies optional 2021-01-17 11:04:30 +01:00
JensDiemer
0e30eb76a4 prepare v0.1.4 release 2021-01-08 11:08:18 +01:00
JensDiemer
4d3e8ad8df bump v0.1.3 2021-01-08 08:52:08 +01:00
JensDiemer
a6082e4444 release as v0.1.2 2020-12-29 12:45:19 +01:00
JensDiemer
dacee434ee copy conf/setup_user.py, too 2020-12-29 12:14:00 +01:00
JensDiemer
722de42ecd release as v0.1.2rc1 2020-12-29 12:06:04 +01:00
JensDiemer
3d8b18788e fix superuser setup 2020-12-29 12:03:16 +01:00
JensDiemer
bad3ffd1bb release as v0.1.1 2020-12-29 11:49:52 +01:00
JensDiemer
577017d366 install the app via pip
Note: The generated "requirements.txt" doesn't contain the own package!
2020-12-29 11:32:44 +01:00
JensDiemer
05be4ad6b4 rename settings and urls 2020-12-29 11:12:21 +01:00
JensDiemer
4b0a4b5d5a code cleanup 2020-12-29 10:57:04 +01:00
JensDiemer
41df6139c1 Generate "conf/requirements.txt" and use this file for install 2020-12-29 10:53:46 +01:00
JensDiemer
867f3aac2b Add "django_ynh" to INSTALLED_APPS and migrate "create_superuser" to a manage command 2020-12-29 10:52:36 +01:00
JensDiemer
b5f93958ff WIP: setup the project 2020-12-28 12:35:36 +01:00
JensDiemer
f578f144a3 init 2020-12-23 19:58:33 +01:00