Follow new exciting README standard
continuous-integration/drone/push Build is passing Details

See coop-cloud/organising#31
This commit is contained in:
3wc 2021-03-02 18:38:31 +02:00
parent e9013dff43
commit 62a63c385a
1 changed files with 18 additions and 7 deletions

View File

@ -4,17 +4,28 @@
[CodiMD][codimd] using Coöp Cloud ♥
<!-- metadata -->
* **Category**: Apps
* **Status**: ❷💛
* **Image**: [`hackmdio/hackmd`](https://hub.docker.com/r/hackmdio/hackmd/), ❶💚, upstream
* **Healthcheck**: Yes
* **Backups**: No
* **Email**: No
* **Tests**: ❷💛
* **SSO**: ❶💚 (OAuth)
<!-- endmetadata -->
## Basic usage
1. Set up Docker Swarm and [`abra`][abra]
2. Deploy [`compose-stacks/traefik`][compose-traefik]
3. `cp .envrc.sample .envrc`
4. Edit `.envrc` - be sure to change `$DOMAIN` to something that resolves to
3. `abra app new codimd`
4. `abra app YOURAPPDOMAIN config` - be sure to change `$DOMAIN` to something that resolves to
your Docker swarm box
5. `direnv allow` (or `. .envrc`)
6. `abra secret_generate db_password v1`
7. `abra deploy`
9. Create initial user:
5. `abra app YOURAPPDOMAIN deploy`
6. Create initial user:
```
abra run codimd bash
abra run YOURAPPDOMAIN app bash
. /docker-entrypoint2.sh -e
bin/manage_users
```