1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/terraforming-mars_ynh.git synced 2024-09-03 20:36:05 +02:00

Merge pull request #9 from YunoHost-Apps/testing

Some cleanup + test multi-instance
This commit is contained in:
Thomas 2023-12-21 18:23:53 +01:00 committed by GitHub
commit 8833c3b613
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 6 deletions

View file

@ -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/

View file

@ -18,7 +18,7 @@ Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
Cette application est une implémentation en ligne et open source de lexcellent jeu de plateau Terraforming mars. Elle nest 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/

View file

@ -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

1
doc/ADMIN.md Normal file
View file

@ -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__

1
doc/ADMIN_fr.md Normal file
View file

@ -0,0 +1 @@
Il est possible davoir une liste de tous les jeux actuellement disponibles sur le serveur en suivant ce lien: https://__DOMAIN____PATH__/games-overview?serverId=__KEY__

View file

@ -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 lexcellent 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

View file

@ -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"