mirror of
https://github.com/Tech-Workers-Coalition-Italia/mobilizon-reshare.git
synced 2025-02-15 11:10:55 +01:00
* scripts: Add mobilizon-reshare.sh. This script lets you run mobilizon-reshare commands from your git checkout. This is very useful for debugging new features or in general just to have a quick feedback loop from your modifications. Example usage: $ scripts/mobilizon-reshare.sh inspect all
10 lines
298 B
Bash
Executable File
10 lines
298 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
export MOBILIZON_RESHARE_LOG_DIR="/tmp"
|
|
export MOBILIZON_RESHARE_LOCAL_STATE_DIR="/tmp"
|
|
export SECRETS_FOR_DYNACONF="$(pwd)/.secrets.toml"
|
|
export SETTINGS_FILE_FOR_DYNACONF="$(pwd)/mobilizon_reshare.toml"
|
|
export ENV_FOR_DYNACONF="production"
|
|
|
|
poetry run mobilizon-reshare "$@"
|