diff --git a/README.md b/README.md index 5201130..dad756a 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in This is an open-source online implementation of the great board game Terraforming mars. It is not affiliated with FryxGames, Asmodee Digital or Steam in any way. -**Shipped version:** 2023.12.17~ynh1 +**Shipped version:** 2023.12.17~ynh2 **Demo:** https://terraforming-mars.herokuapp.com/ diff --git a/README_fr.md b/README_fr.md index 0ea647d..cb6a44f 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po Cette application est une implémentation en ligne et open source de l’excellent jeu de plateau Terraforming mars. Elle n’est affiliée à FryxGames, Asmodee Digital ou Steam en aucun cas. -**Version incluse :** 2023.12.17~ynh1 +**Version incluse :** 2023.12.17~ynh2 **Démo :** https://terraforming-mars.herokuapp.com/ diff --git a/conf/.env b/conf/.env index 5c1fb6f..e714cd5 100644 --- a/conf/.env +++ b/conf/.env @@ -14,7 +14,7 @@ HOST=__DOMAIN__ #KEY_PATH=/etc/yunohost/certs/__DOMAIN__/key.pem ## Postgresql -POSTGRES_HOST=postgresql://__DB_USER__:__DB_PWD__@:5432/__DB_NAME__ +POSTGRES_HOST=postgresql://__DB_USER__:__DB_PWD__@localhost:5432/__DB_NAME__ ## Games can only be in the database for this many days. ## When this is unspecified, PostgresQL deletes games in 10 days, and diff --git a/doc/ADMIN.md b/doc/ADMIN.md new file mode 100644 index 0000000..9a1158a --- /dev/null +++ b/doc/ADMIN.md @@ -0,0 +1 @@ +It is possible to have a list of all games currently available on the server via following link: https://__DOMAIN____PATH__/games-overview?serverId=__KEY__ \ No newline at end of file diff --git a/doc/ADMIN_fr.md b/doc/ADMIN_fr.md new file mode 100644 index 0000000..cc17b2e --- /dev/null +++ b/doc/ADMIN_fr.md @@ -0,0 +1 @@ +Il est possible d’avoir une liste de tous les jeux actuellement disponibles sur le serveur en suivant ce lien : https://__DOMAIN____PATH__/games-overview?serverId=__KEY__ \ No newline at end of file diff --git a/manifest.toml b/manifest.toml index 7087ef5..11704cd 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Terraforming Mars " description.en = "Open-source online implementation of the great board game Terraforming mars." description.fr = "Implementation en ligne à code source ouvert de l’excellent jeu de plateau Terraforming Mars" -version = "2023.12.17~ynh1" +version = "2023.12.17~ynh2" maintainers = ["Thovi98"] @@ -19,7 +19,7 @@ code = "https://github.com/terraforming-mars/terraforming-mars" [integration] yunohost = ">= 11.2.4" architectures = "all" -multi_instance = false +multi_instance = true ldap = false sso = false diff --git a/scripts/install b/scripts/install index 9bf5f96..c2110e3 100755 --- a/scripts/install +++ b/scripts/install @@ -48,7 +48,7 @@ ynh_add_nginx_config ynh_script_progression --message="Adding a configuration file..." -key=$(ynh_string_random --length=45 | base64) +key=$(ynh_string_random --length=8 | base64) ynh_app_setting_set --app=$app --key=key --value=$key ynh_add_config --template="../conf/.env" --destination="$install_dir/.env"