1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/discourse_ynh.git synced 2024-09-03 18:26:18 +02:00
Commit graph

126 commits

Author SHA1 Message Date
Jimmy Monin
5be413e2dd Use jemalloc memory allocator as recommended by Discourse team 2018-05-19 09:13:36 +02:00
Jimmy Monin
c8ed3c3c06 Upgrade to upstream version 1.9.7 2018-05-06 19:42:33 +02:00
Jimmy Monin
f67986641f Use unicorn instead of puma, hence not needing a separate sidekiq service and drastically reducing memory footprint
Limit number of workers to 2 on ARM devices
See here: https://meta.discourse.org/t/does-discourse-require-2gb-to-work-lag-free/25278/8
2018-05-06 19:38:57 +02:00
Jimmy Monin
9bc9fb0ce0 Setup image_optim to disable svgo worker, hence avoiding dependency warning 2018-05-03 07:23:29 +02:00
Jimmy Monin
2fcdb73df8 Use current ynh_check_starting helper 2018-05-03 07:20:39 +02:00
Jimmy Monin
a7eed4e8a2 Update PostgreSQL helpers 2018-05-02 16:30:15 +02:00
Jimmy Monin
4fdbfe333c Check memory requirements to prevent install/upgrade/restore processes from being killed 2018-05-02 16:28:17 +02:00
Jimmy Monin
48ac081464 Upgrade to upstream version 1.9.6 2018-04-29 19:06:29 +02:00
Jimmy Monin
0fae168464 Add README, LICENSE, check_process 2018-04-29 16:41:28 +02:00
Jimmy Monin
c8a0722de2 Don't upgrade discourse app if unchanged 2018-04-29 11:28:38 +02:00
Jimmy Monin
3669f20dd0 Add ARM compatibility 2018-04-29 11:25:32 +02:00
Jimmy Monin
ffa7684217 Create and use helpers to use rbenv to install a specific ruby version (to be compatible with Jessie and Stretch) 2018-04-29 11:21:30 +02:00
Jimmy Monin
c6e6718da6 Workaround to use latest systemd helpers in Jessie 2018-04-24 17:45:19 +02:00
Jimmy Monin
83d9427e85 Fix preload warnings 2018-04-21 18:08:18 +02:00
Jimmy Monin
b7161f3c16 Workarounds for Jessie target:
- nginx in Jessie doesn't manage well variables in alias
- systemd helpers not up-to-date in Jessie stable version
2018-04-21 16:48:44 +02:00
Jimmy Monin
ab317e2a37 Don't depend on ruby version for the omniauth-ldap patch 2018-04-21 15:30:33 +02:00
Jimmy Monin
ff64835b73 Add upgrade script 2018-04-14 09:33:23 +02:00
Jimmy Monin
a389c47520 Multi-instance and other minor fixes 2018-04-08 17:23:18 +02:00
Jimmy Monin
185ca464b3 Add remove, backup and restore scripts 2018-04-07 12:02:34 +02:00
Jimmy Monin
72227efbc9 Install development dependencies (used by CLI) 2018-04-07 12:00:57 +02:00
Jimmy Monin
9f6370ce84 Populate database, avoid wizard and fix subfolder initial posts 2018-04-07 11:59:38 +02:00
Jimmy Monin
c664acad59 Don't show miniprofiler 2018-04-07 11:58:39 +02:00
Jimmy Monin
e1bc8091cb Minor refactoring and fixes 2018-04-07 11:57:57 +02:00
Jimmy Monin
92f535009e Create admin user during installation 2018-04-03 18:28:04 +02:00
Jimmy Monin
b129d88a6b Patch ldap-auth plugin to fix subfolder installation
see https://github.com/omniauth/omniauth-ldap/pull/16
2018-04-03 18:27:06 +02:00
Jimmy Monin
f0898bfab7 Initial commit 2018-04-02 16:36:02 +02:00