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

sql database env for doccano #2353

Open
robertosussex opened this issue May 18, 2024 · 2 comments
Open

sql database env for doccano #2353

robertosussex opened this issue May 18, 2024 · 2 comments

Comments

@robertosussex
Copy link

Dear Sir or Madam,

We have created a Module on our HPC that loads doccano that has been installed with "pip install" using one of the Python versions available.

It works fine, however, I wonder:

  1. If a user (standard, Linux wise, but admin Doccano wise) starts the doccano webserver and runs some admin, the updated data will be
    saved to the ~/doccano/db.sqlite3 file.

  2. The position and permissions of this DB is obviously user dependent as far as Linux is concerned.

  3. When another user accesses the portal with http://IP:8000 he/she will not be able to access the database. Is that correct?

  4. Is there and Environment variable that can be specified to put the DataBase in a shared directory that can be accessed/able by every Doccano user?

I apologize if some of the questions is repetitive and/or if I may have missed something from the Documentation.

With kind regards

Roberto Scipioni
University of Bath DAaT

@robertosussex
Copy link
Author

...also how do:

  1. List users in doccano

  2. Change passwords

  3. Remove users

I imagine I will have to use the proper interface for that rather than the command line interface?

Please advice
Kind regards
Roberto

@AlainB63
Copy link

AlainB63 commented Jun 6, 2024

I have the same need. I would like to collaborate between several users and annotate texts.
I have installed the default configuration with the database Sqlite 3 (through pip install, python 3.10 and Windows). The db.sqlite3 file is located to my %HOME%/doccano folder created during doccano init. This is the case for each user. So, we work separately and the results are not shared between us.
I am wondering if it is possible to redirect the location of the file db.sqlite3 to a shared environment during init for all the users and if it will solve the issue?

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

No branches or pull requests

2 participants