doccano / doccano

Open source annotation tool for machine learning practitioners.
MIT License
9.1k stars 1.67k forks source link

sql database env for doccano #2353

Open robertosussex opened 2 weeks ago

robertosussex commented 2 weeks ago

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 commented 2 weeks ago

...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