Compare commits
4 Commits
c34e9dc6ed
...
847188a731
| Author | SHA1 | Date | |
|---|---|---|---|
| 847188a731 | |||
| 79478338d7 | |||
| 9dfd2d0c1a | |||
| 28ca30fbc5 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
TODO.md
|
TODO.md
|
||||||
|
clean-after-make_readme.sh
|
||||||
|
|||||||
53
README.md
53
README.md
@ -1,3 +1,52 @@
|
|||||||
# sr2ini_yhn
|
<!--
|
||||||
|
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
|
||||||
|
It shall NOT be edited by hand.
|
||||||
|
-->
|
||||||
|
|
||||||
sr2ini as a Yunohost package.
|
# SR2 Initiative Tracker for YunoHost
|
||||||
|
|
||||||
|
[](https://dash.yunohost.org/appci/app/sr2ini)  
|
||||||
|
|
||||||
|
[](https://install-app.yunohost.org/?app=sr2ini)
|
||||||
|
|
||||||
|
*[Lire ce readme en français.](./README_fr.md)*
|
||||||
|
|
||||||
|
> *This package allows you to install SR2 Initiative Tracker quickly and simply on a YunoHost server.
|
||||||
|
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
sr2ini is a lightweight, single-page initiative tracker for the TTRPG Shadowrun in its 2nd edition. The app helps DMs and players to manage fights by tracking each combatant's initiative, order of action, damage (stun and physical), and wound modifiers. It was written specifically for mobile use and can be installed as a web app.
|
||||||
|
|
||||||
|
This package allows you to install sr2ini quickly and simply on a YunoHost server. If you don't have YunoHost, please consult the guide to learn how to install it.
|
||||||
|
|
||||||
|
## YunoHost specific features
|
||||||
|
|
||||||
|
* supports multi-install
|
||||||
|
* defaut visibility is public
|
||||||
|
|
||||||
|
|
||||||
|
**Shipped version:** 0.9~ynh1
|
||||||
|
|
||||||
|
## Screenshots
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Documentation and resources
|
||||||
|
|
||||||
|
* YunoHost documentation for this app: <https://yunohost.org/app_sr2ini>
|
||||||
|
* Report a bug: <https://github.com/YunoHost-Apps/sr2ini_ynh/issues>
|
||||||
|
|
||||||
|
## Developer info
|
||||||
|
|
||||||
|
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/sr2ini_ynh/tree/testing).
|
||||||
|
|
||||||
|
To try the testing branch, please proceed like that.
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
sudo yunohost app install https://github.com/YunoHost-Apps/sr2ini_ynh/tree/testing --debug
|
||||||
|
or
|
||||||
|
sudo yunohost app upgrade sr2ini -u https://github.com/YunoHost-Apps/sr2ini_ynh/tree/testing --debug
|
||||||
|
```
|
||||||
|
|
||||||
|
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>
|
||||||
|
|||||||
52
README_fr.md
Normal file
52
README_fr.md
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
<!--
|
||||||
|
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
|
||||||
|
It shall NOT be edited by hand.
|
||||||
|
-->
|
||||||
|
|
||||||
|
# SR2 Initiative Tracker pour YunoHost
|
||||||
|
|
||||||
|
[](https://dash.yunohost.org/appci/app/sr2ini)  
|
||||||
|
|
||||||
|
[](https://install-app.yunohost.org/?app=sr2ini)
|
||||||
|
|
||||||
|
*[Read this readme in english.](./README.md)*
|
||||||
|
|
||||||
|
> *Ce package vous permet d’installer SR2 Initiative Tracker rapidement et simplement sur un serveur YunoHost.
|
||||||
|
Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.*
|
||||||
|
|
||||||
|
## Vue d’ensemble
|
||||||
|
|
||||||
|
sr2ini is a lightweight, single-page initiative tracker for the TTRPG Shadowrun in its 2nd edition. The app helps DMs and players to manage fights by tracking each combatant's initiative, order of action, damage (stun and physical), and wound modifiers. It was written specifically for mobile use and can be installed as a web app.
|
||||||
|
|
||||||
|
This package allows you to install sr2ini quickly and simply on a YunoHost server. If you don't have YunoHost, please consult the guide to learn how to install it.
|
||||||
|
|
||||||
|
## YunoHost specific features
|
||||||
|
|
||||||
|
* supports multi-install
|
||||||
|
* defaut visibility is public
|
||||||
|
|
||||||
|
|
||||||
|
**Version incluse :** 0.9~ynh1
|
||||||
|
|
||||||
|
## Captures d’écran
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Documentations et ressources
|
||||||
|
|
||||||
|
* Documentation YunoHost pour cette app : <https://yunohost.org/app_sr2ini>
|
||||||
|
* Signaler un bug : <https://github.com/YunoHost-Apps/sr2ini_ynh/issues>
|
||||||
|
|
||||||
|
## Informations pour les développeurs
|
||||||
|
|
||||||
|
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/sr2ini_ynh/tree/testing).
|
||||||
|
|
||||||
|
Pour essayer la branche testing, procédez comme suit.
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
sudo yunohost app install https://github.com/YunoHost-Apps/sr2ini_ynh/tree/testing --debug
|
||||||
|
ou
|
||||||
|
sudo yunohost app upgrade sr2ini -u https://github.com/YunoHost-Apps/sr2ini_ynh/tree/testing --debug
|
||||||
|
```
|
||||||
|
|
||||||
|
**Plus d’infos sur le packaging d’applications :** <https://yunohost.org/packaging_apps>
|
||||||
@ -5,7 +5,7 @@ name = "SR2 Initiative Tracker"
|
|||||||
description.en = "A simple initiative tracker for Shaodwrun 2e."
|
description.en = "A simple initiative tracker for Shaodwrun 2e."
|
||||||
description.de = "Ein einfacher Initiative-Tracker für Shaodwrun, 2. Edition."
|
description.de = "Ein einfacher Initiative-Tracker für Shaodwrun, 2. Edition."
|
||||||
|
|
||||||
version = "0.1~ynh1"
|
version = "0.9~ynh1"
|
||||||
|
|
||||||
maintainers = ["Eclipse"]
|
maintainers = ["Eclipse"]
|
||||||
|
|
||||||
|
|||||||
47
scripts/upgrade
Normal file
47
scripts/upgrade
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# GENERIC START
|
||||||
|
#=================================================
|
||||||
|
# IMPORT GENERIC HELPERS
|
||||||
|
#=================================================
|
||||||
|
|
||||||
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# CHECK VERSION
|
||||||
|
#=================================================
|
||||||
|
|
||||||
|
upgrade_type=$(ynh_check_app_version_changed)
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# STANDARD UPGRADE STEPS
|
||||||
|
#=================================================
|
||||||
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
|
#=================================================
|
||||||
|
|
||||||
|
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||||
|
then
|
||||||
|
ynh_script_progression --message="Upgrading source files …" --weight=2
|
||||||
|
|
||||||
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
|
ynh_setup_source --dest_dir="$install_dir"
|
||||||
|
fi
|
||||||
|
|
||||||
|
chown -R $app:www-data "$install_dir"
|
||||||
|
chmod -R o-rwx "$install_dir"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# REAPPLY SYSTEM CONFIGURATIONS
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Upgrading nginx configuration …" --weight=1
|
||||||
|
|
||||||
|
ynh_add_nginx_config
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# END OF SCRIPT
|
||||||
|
#=================================================
|
||||||
|
|
||||||
|
ynh_script_progression --message="Upgrade of $app completed" --last
|
||||||
Loading…
Reference in New Issue
Block a user