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

About admin account #16

Open
renhongkai opened this issue Apr 14, 2018 · 3 comments
Open

About admin account #16

renhongkai opened this issue Apr 14, 2018 · 3 comments

Comments

@renhongkai
Copy link

I have installed arborator-server and the arborator start page, but I can't log in with admi account. Click the login button without any hints.Can you help me?

@marinecourtin
Copy link
Member

hello,

To login with the admin account, you will need to update the admin.ini file in the users folder with your password of choice.

  1. create a hashed version of your password using pass_enc() function in the modules/dataenc.py script

for example add this under if __name__ == "__main__":

mdp = pass_enc('myNewPassword')
print(mdp)
  1. update users/admin.ini file by replacing the default password with the hashed version of your password.

You should then be able to login using the admin account, let me know if you still have any problems

@renhongkai
Copy link
Author

Thank you for your reply. I can use the admin account.
1、user.ini content is:
pending = renhong
[iog02458223]
username = renhong
realname = rhk
password = QqX__-mezihe3ixn3iCMEryVEru__
action = EMPTY_VAL_MJF
email = [email protected]

But I can't login with the Renhong account. Did I make some mistakes or ignore some details ?

2、The interface that I login with the admin account is
image
My question is: How to import sentences into the database?
In addition, do you have a more detailed tutorial about this web server?

@kimgerdes
Copy link
Member

hello,
the admin can create accounts inside of arborator: follow the User Administration link.
choose the "create new user" instead of "invite" because many email providers consider our confirmation mail as spam.
for the importation, use treebankfiles.py scripts or put the conll files in the conll folder and they'll appear.
more information is here: https://github.com/Arborator/arborator-server/wiki
don't hesitate to improve the wiki with points that you found out along the way.
happy annotations!

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

3 participants