4 Commits

Author SHA1 Message Date
59171ec812 chore: publish 0.5.0+4.6.1 release
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2025-10-29 13:55:11 -04:00
c9644d39f2 update readme
All checks were successful
continuous-integration/drone/push Build is passing
2025-10-29 13:44:44 -04:00
09e2b37332 add gen_key command 2025-10-29 13:18:37 -04:00
72d3dbe370 Update README.md
All checks were successful
continuous-integration/drone/push Build is passing
2025-10-29 16:40:13 +00:00
3 changed files with 19 additions and 3 deletions

View File

@ -1,11 +1,11 @@
# liberaforms PRE-Release, testing
# liberaforms
> Ethical form software
<!-- metadata -->
- **Category**: Apps
- **Status**: 0
- **Status**: wip
- **Image**: [`liberaforms`](https://fung.uy/mycosystems/-/packages/container/liberaforms/), 1
- **Healthcheck**: Yes
- **Backups**: Yes
@ -17,10 +17,16 @@
## Quick start
- `abra app new liberaforms --secrets`
- `abra app new liberaforms`
- Generate secrets
- `abra app secret g <domain-name> secret_key v1`
- `abra app secret g <domain-name> db_password v1`
- Set an admin email address `abra app config <domain-name>`
- `abra app deploy <domain-name>`
- Create tables `abra app cmd <domain-name> forms setup_db` more info in [liberaforms docs](https://codeberg.org/LiberaForms/server/src/branch/main/docs/docker.md#create-the-database)
- Generate keypair used to sign form entries/uploads `abra app cmd <domain-name> forms gen_key`
- Insert the key `abra app secret i forms.fung.uy crypto_key v1 <key>`
- Re-deploy
## Admin account setup

View File

@ -41,3 +41,12 @@ setup_db() {
echo "Database setup complete. <3"
}
gen_key() {
file_env "DB_PASSWORD"
file_env "CRYPTO_KEY"
file_env "SECRET_KEY"
file_env "LDAP_BIND_PASSWORD"
flask cryptokey create
}

1
release/0.5.0+4.6.1 Normal file
View File

@ -0,0 +1 @@
add key generation steps to support file uploads in forms.