mirror of
https://github.com/YunoHost-Apps/monica_ynh.git
synced 2024-09-03 19:46:23 +02:00
update version, install new dependency
This commit is contained in:
parent
3a8ab5b0b9
commit
6fe4ebe1ec
4 changed files with 63 additions and 20 deletions
75
conf/.env
75
conf/.env
|
@ -1,22 +1,36 @@
|
||||||
APP_ENV=local
|
# Two choices: local|production.
|
||||||
APP_DEBUG=false
|
APP_ENV=production
|
||||||
APP_KEY=base64:T9HB3cjcOlQsHnZo1OLTHsfxTHyFJGG17OtX2KNRjRc=
|
|
||||||
APP_URL=yunodomainyunopath
|
|
||||||
APP_LOG=daily
|
|
||||||
APP_EMAIL_NEW_USERS_NOTIFICATION=yunomail
|
|
||||||
APP_DISABLE_SIGNUP=false
|
|
||||||
|
|
||||||
|
# true if you want to show debug information on error. For production, put this
|
||||||
|
# to false.
|
||||||
|
APP_DEBUG=false
|
||||||
|
|
||||||
|
# The encryption key. This is the most important part of the application. Keep
|
||||||
|
# this secure otherwise, everyone will be able to access your application.
|
||||||
|
# Must be 32 characters long exactly.
|
||||||
|
# Use `php artisan key:generate` to generate a random key.
|
||||||
|
APP_KEY=ChangeMeBy32KeyLengthOrGenerated
|
||||||
|
|
||||||
|
# The URL of your application.
|
||||||
|
APP_URL=yunodomainyunopath
|
||||||
|
|
||||||
|
# Frequency of creation of new log files.
|
||||||
|
# Possible values: single|daily|syslog|errorlog
|
||||||
|
APP_LOG=daily
|
||||||
|
|
||||||
|
# Database information
|
||||||
|
# To keep this information secure, we urge you to change the default password
|
||||||
DB_CONNECTION=mysql
|
DB_CONNECTION=mysql
|
||||||
DB_HOST=127.0.0.1
|
DB_HOST=127.0.0.1
|
||||||
DB_PORT=3306
|
DB_PORT=3306
|
||||||
DB_DATABASE=yunobase
|
DB_DATABASE=yunobase
|
||||||
DB_USERNAME=yunouser
|
DB_USERNAME=yunouser
|
||||||
DB_PASSWORD=yunopass
|
DB_PASSWORD=yunopass
|
||||||
|
DB_TEST_DATABASE=monica_test
|
||||||
|
DB_TEST_USERNAME=homestead
|
||||||
|
DB_TEST_PASSWORD=secret
|
||||||
|
|
||||||
CACHE_DRIVER=database
|
# Mail credentials used to send emails from the application.
|
||||||
SESSION_DRIVER=file
|
|
||||||
QUEUE_DRIVER=database
|
|
||||||
|
|
||||||
MAIL_DRIVER=smtp
|
MAIL_DRIVER=smtp
|
||||||
MAIL_HOST=127.0.0.1
|
MAIL_HOST=127.0.0.1
|
||||||
MAIL_PORT=25
|
MAIL_PORT=25
|
||||||
|
@ -25,10 +39,39 @@ MAIL_PASSWORD=
|
||||||
MAIL_ENCRYPTION=
|
MAIL_ENCRYPTION=
|
||||||
MAIL_FROM_ADDRESS=yunomail
|
MAIL_FROM_ADDRESS=yunomail
|
||||||
MAIL_FROM_NAME="Monica@Yunohost"
|
MAIL_FROM_NAME="Monica@Yunohost"
|
||||||
|
APP_EMAIL_NEW_USERS_NOTIFICATION=yunomail
|
||||||
|
|
||||||
FACEBOOK_CLIENT_ID=
|
# Default timezone for new users. Users can change this setting inside the
|
||||||
FACEBOOK_CLIENT_SECRET_ID=
|
# application at their leisure.
|
||||||
FACEBOOK_REDIRECT_URL=
|
# Must be exactly one of the timezones used in this list:
|
||||||
|
# https://github.com/monicahq/monica/blob/master/resources/views/settings/index.blade.php#L70
|
||||||
|
APP_DEFAULT_TIMEZONE=America/New_York
|
||||||
|
|
||||||
|
# Ability to disable signups on your instance. Can be true or false. Default to false.
|
||||||
|
APP_DISABLE_SIGNUP=true
|
||||||
|
|
||||||
|
# Specific to the hosted version on .com. You probably don't need those.
|
||||||
|
# Let them empty if you don't need them.
|
||||||
|
GOOGLE_ANALYTICS_APP_ID=
|
||||||
|
INTERCOM_APP_ID=
|
||||||
|
SENTRY_APP_ID=
|
||||||
|
|
||||||
|
# Have access to paid features available on https://monicahq.com, for free.
|
||||||
|
# Can be true or false. Default to false.
|
||||||
|
# If set to true, that means your users will have to pay to access the paid
|
||||||
|
# features. We use Stripe to do this.
|
||||||
|
REQUIRES_SUBSCRIPTION=false
|
||||||
|
|
||||||
|
# ONLY NECESSARY IF MONICA REQUIRES A SUBSCRIPTION TO WORK
|
||||||
|
# Leave blank unless you know what you are doing.
|
||||||
|
STRIPE_KEY=
|
||||||
|
STRIPE_SECRET=
|
||||||
|
PAID_PLAN_FRIENDLY_NAME=
|
||||||
|
PAID_PLAN_ID=
|
||||||
|
PAID_PLAN_PRICE=
|
||||||
|
|
||||||
|
# Change this only if you know what you are doing
|
||||||
|
CACHE_DRIVER=database
|
||||||
|
SESSION_DRIVER=file
|
||||||
|
QUEUE_DRIVER=sync
|
||||||
|
|
||||||
GOOGLE_ANALYTICS=
|
|
||||||
INTERCOM=
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
SOURCE_URL=https://github.com/monicahq/monica/archive/54b65e35.tar.gz
|
SOURCE_URL=https://github.com/monicahq/monica/archive/cdaea00.tar.gz
|
||||||
SOURCE_SUM=3fed39a06507e0f2a7b940cd5a1ac7d332ff44807676df7b0676ad307971b6d1
|
SOURCE_SUM=82e3048e6a1d05a1011c3dc738af344795b48a518d89a79ca746dff0055d3355
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# monica git version
|
# monica git version
|
||||||
VERSION="c94da55a"
|
VERSION="cdaea00"
|
||||||
|
|
||||||
# Remote URL to fetch monica source tarball
|
# Remote URL to fetch monica source tarball
|
||||||
MONICA_SOURCE_URL="https://github.com/monicahq/monica/archive/${VERSION}.tar.gz"
|
MONICA_SOURCE_URL="https://github.com/monicahq/monica/archive/${VERSION}.tar.gz"
|
||||||
|
|
|
@ -56,7 +56,7 @@ ynh_mysql_create_db "$dbname" "$dbuser" "$dbpass"
|
||||||
|
|
||||||
# install nodejs
|
# install nodejs
|
||||||
ynh_install_nodejs 6.10.3
|
ynh_install_nodejs 6.10.3
|
||||||
ynh_package_install g++
|
ynh_package_install g++ php7.0-curl
|
||||||
|
|
||||||
# extract monica into $final_path
|
# extract monica into $final_path
|
||||||
extract_monica $final_path
|
extract_monica $final_path
|
||||||
|
|
Loading…
Add table
Reference in a new issue