mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
take configuration in env vars temporarily
This commit is contained in:
parent
97a8a87c24
commit
1a92613ddc
3 changed files with 25 additions and 6 deletions
|
@ -1,6 +1,20 @@
|
|||
# Usage
|
||||
|
||||
## `task`
|
||||
|
||||
The main interface to your tasks is the `task` command, which supports various subcommands.
|
||||
You can find a quick list of all subcommands with `task help`.
|
||||
|
||||
Note that the `task` interface does not match that of TaskWarrior.
|
||||
|
||||
### Configuration
|
||||
|
||||
Temporarily, configuration is by environment variables.
|
||||
The directory containing the replica's task data is given by `TASK_DB`, defaulting to `/tmp/tasks`.
|
||||
the origin of the sync server is given by `SYNC_SERVER_ORIGIN`, defaulting to `http://localhost:8080`.
|
||||
|
||||
## `taskchampion-sync-server`
|
||||
|
||||
Run `taskchampion-sync-server` to start the sync server.
|
||||
It serves on port 8080 on all interfaces, using an in-memory database (meaning that all data is lost when the process exits).
|
||||
Requests for previously-unknown clients are automatically added.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue