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

Make it possible to set the path to projects.cfg using an environment variable #211

Closed
osma opened this issue Nov 21, 2018 · 2 comments
Closed
Milestone

Comments

@osma
Copy link
Member

osma commented Nov 21, 2018

As noted in #195, it should be possible to set the path to projects.cfg using an environment variable, e.g.

export ANNIF_PROJECTS=/etc/annif/projects.cfg
annif analyze tfidf-fi <doc.txt
@osma osma added this to the v0.37 milestone Nov 21, 2018
@osma
Copy link
Member Author

osma commented Nov 21, 2018

@osma
Copy link
Member Author

osma commented Nov 21, 2018

It makes sense to do this in default_config.py, and to also allow setting ANNIF_DATADIR.

@osma osma closed this as completed in d916481 Nov 21, 2018
@osma osma mentioned this issue Nov 21, 2018
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant