1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/proxitok_ynh.git synced 2024-09-03 20:15:53 +02:00

Merge pull request #2 from YunoHost-Apps/testing

Update .env
This commit is contained in:
Éric Gaspar 2022-04-01 22:29:02 +02:00 committed by GitHub
commit 1548b3111e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 5 deletions

View file

@ -28,7 +28,7 @@ Use Tiktok with an alternative frontend, inspired by Nitter.
- RSS Feed for user, trending and tag (just add /rss to the url) - RSS Feed for user, trending and tag (just add /rss to the url)
**Shipped version:** 2.2.0.0~ynh1 **Shipped version:** 2.2.0.0~ynh2
**Demo:** https://proxitok.herokuapp.com/ **Demo:** https://proxitok.herokuapp.com/

View file

@ -24,7 +24,7 @@ Use Tiktok with an alternative frontend, inspired by Nitter.
- RSS Feed for user, trending and tag (just add /rss to the url) - RSS Feed for user, trending and tag (just add /rss to the url)
**Version incluse :** 2.2.0.0~ynh1 **Version incluse :** 2.2.0.0~ynh2
**Démo :** https://proxitok.herokuapp.com/ **Démo :** https://proxitok.herokuapp.com/

View file

@ -3,7 +3,7 @@ APP_PATH="" # Relative path, PLEASE LEAVE EMPTY IF /
LATTE_CACHE= # Path for Latte cache, leave commented for ./cache/latte LATTE_CACHE= # Path for Latte cache, leave commented for ./cache/latte
# API CONFIG # API CONFIG
# API_FORCE_LEGACY=1 # Force legacy mode for wrapper API_FORCE_LEGACY=1 # Force legacy mode for wrapper
# API_SIGNER_URL="https://__DOMAIN__" # External signing service # API_SIGNER_URL="https://__DOMAIN__" # External signing service
# API_BROWSER_URL="http://localhost:4444" # chromedriver url # API_BROWSER_URL="http://localhost:4444" # chromedriver url
# API_TEST_ENDPOINTS=1 # Discomment for usage of testing TikTok endpoints, may help sometimes # API_TEST_ENDPOINTS=1 # Discomment for usage of testing TikTok endpoints, may help sometimes

View file

@ -6,7 +6,7 @@
"en": "Alternative frontend for TikTok", "en": "Alternative frontend for TikTok",
"fr": "Frontend alternatif à TikTok" "fr": "Frontend alternatif à TikTok"
}, },
"version": "2.2.0.0~ynh1", "version": "2.2.0.0~ynh2",
"url": "https://proxitok.herokuapp.com", "url": "https://proxitok.herokuapp.com",
"upstream": { "upstream": {
"license": "AGPL-3.0-only", "license": "AGPL-3.0-only",

View file

@ -57,7 +57,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=1 ynh_script_progression --message="Upgrading source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" --keep="$final_path/.env" ynh_setup_source --dest_dir="$final_path" #--keep="$final_path/.env"
fi fi
chmod 750 "$final_path" chmod 750 "$final_path"
@ -87,6 +87,16 @@ ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=1
# Create a dedicated PHP-FPM config # Create a dedicated PHP-FPM config
ynh_add_fpm_config ynh_add_fpm_config
#=================================================
# ADD A CONFIGURATION
#=================================================
ynh_script_progression --message="Adding a configuration file..." --weight=1
ynh_add_config --template="../conf/.env" --destination="$final_path/.env"
chmod 400 "$final_path/.env"
chown $app:$app "$final_path/.env"
#================================================= #=================================================
# INSTALL PROXITOK WITH COMPOSER # INSTALL PROXITOK WITH COMPOSER
#================================================= #=================================================