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:
commit
8833c3b613
7 changed files with 8 additions and 6 deletions
|
@ -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/
|
||||
|
||||
|
|
|
@ -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/
|
||||
|
||||
|
|
|
@ -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
1
doc/ADMIN.md
Normal 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
1
doc/ADMIN_fr.md
Normal file
|
@ -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__
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue