Compare commits

...

2 Commits

Author SHA1 Message Date
Philipp Rothmann 9d9c0cd0e7 chore: clean foodsoft docs
continuous-integration/drone/push Build is passing Details
2022-12-20 16:21:34 +01:00
Philipp Rothmann 607a602df4 chore: clean bbb docs 2022-12-20 16:21:34 +01:00
3 changed files with 36 additions and 50 deletions

View File

@ -2,5 +2,7 @@ nav:
- Basis: index.md
- Single-Sign-On: authentik.md
- Tools:
- BigBlueButton: bigbluebutton.md
- Foodsoft: foodsoft.md
- TODO:
- ...

View File

@ -3,9 +3,25 @@ BigBlueButton
# Big Blue Button
https://github.com/bigbluebutton/docker/
## Installation
### Nextcloud Konfiguration anpassen:
Wir verwenden das [BBB Docker](https://github.com/bigbluebutton/docker/) Setup.
```
git clone --recurse-submodules https://github.com/bigbluebutton/docker.git bbb-docker
cd bbb-docker
git checkout develop
./scripts/setup
nano .env
./scripts/generate-compose
docker-compose up -d
```
### Admin Account erstellen
`docker-compose exec greenlight bundle exec rake admin:create`
### Nextcloud App Konfiguration anpassen:
```
abra app config <nextcloud_domain>
@ -14,7 +30,6 @@ abra app secret insert <nextcloud_domain> bbb_secret v1 <bbb_secret>
abra app cmd <nextcloud_domain> app install_bbb
```
### Telefoneinwahl
Account mit Rufnummer bei https://app.sipgate.com
@ -22,25 +37,7 @@ Account mit Rufnummer bei https://app.sipgate.com
`./conf/sip_profiles`
im .env noch: `SIP_IP_ALLOWLIST`, `WELCOME_FOOTER`
### Networking
https://docs.bigbluebutton.org/admin/configure-firewall.html
## weitere Ressourcen
### docker setup
https://github.com/bigbluebutton/docker
https://docs.bigbluebutton.org/admin/configure-firewall.html
---
changing smth:
```
vim .env
./scripts/generate-compose
docker-compose up -d
```
### Bandbreiten Rechner
https://bbb-hilfe.de/bandbreitenrechner-fuer-bigbluebutton/
* [Bandbreiten Rechner](https://bbb-hilfe.de/bandbreitenrechner-fuer-bigbluebutton/)

View File

@ -1,38 +1,29 @@
# Foodsoft
Foodsoft
--------
## Installation
### General
```
abra app new foodsoft
abra app config APP-NAME
abra app deploy APP-NAME
```
https://github.com/foodcoops/foodsoft
### Installation
[Coop-Cloud Recipe](https://git.coopcloud.tech/coop-cloud/foodsoft)
### Migration
1. Neue instanz aufsetzen
2. Backup aus alter instanz erstellen
```
```bash
docker exec foodcoops_mariadb_1 bash -c "mysqldump -ufoodsoft -p${DB_PASSWORD} foodsoft_demo" > 2022-02-27.sql
```
3. Backup einspielen
```
```bash
➜ docker cp 2022-01-04.sql wandelgut-foodsoft_db.1.b1nspplwa49o55pwj5ddcnn0r:/tmp/
➜ docker exec -it wandelgut-foodsoft_db.1.b1nspplwa49o55pwj5ddcnn0r bash
root@dcdca844b2f1:/# cd /tmp/
mysql -p$(cat /run/secrets/db_root_password)
root@dcdca844b2f1:/tmp# mysql -p$(cat /run/secrets/db_root_password)
MariaDB [(none)]> create database tantewandel;
root@dcdca844b2f1:/tmp# mysql -p$(cat /run/secrets/db_root_password) tantewandel < 2022-01-04.sql
root@dcdca844b2f1:/tmp# exit
➜ docker exec -it wandelgut-foodsoft_app.1.zvlhnq4vvmlf4iuck7ymz96xu bash
@ -42,18 +33,14 @@ nobody@22e376ecea83:/usr/src/app$ SECRET_KEY_BASE=$(cat /run/secrets/secret_key_
### Updating Group Order Invoice Fork
1. `git clone https://github.com/foodcoops/foodsoft.git`
2. checkout pr
3. build image:
`docker -t me/mytag:v123 .`
2. checkout pr
3. build image:
`docker -t me/mytag:v123 .`
`docker push me/mytag:v123`
in an ideal world we could now follow this [guide](https://docs.coopcloud.tech/maintainers/handbook/#how-do-i-release-a-new-recipe-version) to release a new version. But we are not.
4. update the image tag in the `~/.abra/apps/foodsoft/compose.groupOrderInvoice.yml` file
5. run `abra app deploy --chaos foodsoft-dev`
6. check status with:
`abra app ps foodsoft-dev`
5. run `abra app deploy --chaos foodsoft-dev`
6. check status with:
`abra app ps foodsoft-dev`
`abra app logs foodsoft-dev`
7. if everything looks good, git commit & push