2022-12-27 17:59:56 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# COMMON VARIABLES
|
|
|
|
#=================================================
|
|
|
|
java_version=17
|
|
|
|
|
2023-07-16 10:00:44 +02:00
|
|
|
mongo_version=4.4
|
2023-01-02 19:03:27 +01:00
|
|
|
|
2022-12-27 17:59:56 +01:00
|
|
|
# Java dependencies used by the app will be installed through the Java helper
|
|
|
|
pkg_dependencies=""
|
|
|
|
|
2022-12-30 10:21:10 +01:00
|
|
|
# List of services to be installed
|
|
|
|
SERVICES_LIST=(ide preview project data)
|
|
|
|
|
|
|
|
# List of Mongo databases to manage
|
2023-01-02 19:03:27 +01:00
|
|
|
MONGO_DB_LIST=(dontCodeProjects dontCodeDemoProjects dontCodeData dontCodeTestProjects)
|
2022-12-30 10:21:10 +01:00
|
|
|
|
2022-12-27 17:59:56 +01:00
|
|
|
#=================================================
|
|
|
|
# PERSONAL HELPERS
|
|
|
|
#=================================================
|
2023-01-04 14:35:25 +01:00
|
|
|
append_uri() {
|
|
|
|
local return="";
|
|
|
|
if [[ $1 == */ ]]; then
|
|
|
|
return=$1$2;
|
|
|
|
else
|
|
|
|
return=$1/$2
|
|
|
|
fi
|
|
|
|
echo "$return";
|
|
|
|
}
|
2022-12-27 17:59:56 +01:00
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# EXPERIMENTAL HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# FUTURE OFFICIAL HELPERS
|
|
|
|
#=================================================
|