Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Custom db location #2

Open
the-c0d3r opened this issue May 23, 2020 · 1 comment
Open

[Feature] Custom db location #2

the-c0d3r opened this issue May 23, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@the-c0d3r
Copy link
Owner

Feature: Custom db location
Description: Application should allow user to specify where to save the database, preferably through a config file. This is to allow use cases where the user want to store the database file on a shared/synced cloud drive.

Design Plan:

  1. Create a file under ~/.config/dictdb/config.json
  2. create new variable in the json file "db_path": "/path/to/db"
@the-c0d3r the-c0d3r added the enhancement New feature or request label May 23, 2020
@the-c0d3r
Copy link
Owner Author

To make things simpler, I will just create a setup.py script which will let user specify the database location, and just symlink to the data/database.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant