mirror of
https://github.com/atuinsh/atuin.git
synced 2025-06-20 18:07:57 +02:00
docs: Mention environment variables for custom paths (#1614)
Thanks to Ellie and Pete's help on this forum post: https://forum.atuin.sh/t/migration-was-previously-applied-but-is-missing-in-the-resolved-migrations/84
This commit is contained in:
parent
d84f5b2d33
commit
ed1ac5a2a9
@ -6,6 +6,21 @@ Atuin doesn't require anything super special to develop - standard Rust tooling
|
||||
|
||||
Before working on anything, we suggest taking a copy of your Atuin data directory (`~/.local/share/atuin` on most \*nix platforms). If anything goes wrong, you can always restore it!
|
||||
|
||||
While data directory backups are always a good idea, you can instruct Atuin to use custom path using the following environment variables:
|
||||
|
||||
```shell
|
||||
export ATUIN_DB_PATH=/tmp/atuin_dev.db
|
||||
export ATUIN_RECORD_STORE_PATH=/tmp/atuin_records.db
|
||||
```
|
||||
|
||||
It is also recommended to update your `$PATH` so that the pre-exec scripts would use the locally built version:
|
||||
|
||||
```shell
|
||||
export PATH="./target/release:$PATH"
|
||||
```
|
||||
|
||||
These 3 variables can be added in a local `.envrc` file, read by [direnv](https://direnv.net/).
|
||||
|
||||
## What to work on?
|
||||
|
||||
Any issues labeled "bug" or "help wanted" would be fantastic, just drop a comment and feel free to ask for help!
|
||||
|
Loading…
x
Reference in New Issue
Block a user