mirror of
https://github.com/YunoHost-Apps/dont-code_ynh.git
synced 2024-09-03 18:26:34 +02:00
38 lines
973 B
Bash
38 lines
973 B
Bash
#!/bin/bash
|
|
|
|
#=================================================
|
|
# COMMON VARIABLES
|
|
#=================================================
|
|
java_version=17
|
|
|
|
mongo_version=6.0
|
|
|
|
# Java dependencies used by the app will be installed through the Java helper
|
|
pkg_dependencies=""
|
|
|
|
# List of services to be installed
|
|
SERVICES_LIST=(ide preview project data)
|
|
|
|
# List of Mongo databases to manage
|
|
MONGO_DB_LIST=(dontCodeProjects dontCodeDemoProjects dontCodeData dontCodeTestProjects)
|
|
|
|
#=================================================
|
|
# PERSONAL HELPERS
|
|
#=================================================
|
|
append_uri() {
|
|
local return="";
|
|
if [[ $1 == */ ]]; then
|
|
return=$1$2;
|
|
else
|
|
return=$1/$2
|
|
fi
|
|
echo "$return";
|
|
}
|
|
|
|
#=================================================
|
|
# EXPERIMENTAL HELPERS
|
|
#=================================================
|
|
|
|
#=================================================
|
|
# FUTURE OFFICIAL HELPERS
|
|
#=================================================
|