Advertisement
Guest User

Untitled

a guest
Jul 29th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. Brat Rapid Annotation Tool For Brat v1.3
  2.  
  3. Step 1: Third Party Installation:
  4. apt-get update
  5. apt-get install apache2-bin
  6. apt-get install apache2
  7. Above Installs apache group and bin to your linux repos
  8. apt-get update (update repos)
  9.  
  10. Step 2: Installing brat manually :
  11. Extract the downloaded file to brat directory and move into the directory
  12. Create data work
  13. mkdir - p data work
  14. 3. then check Apache group
  15. ./apache-group.sh
  16. you get the name of your Apache group that was created on the point of installation
  17.  
  18. You need to change the Apache group for your brat tool and make some changes in data and work folder directory you need to include your name directories inside brat directory accessible to Apache group by modifying the access points for your linux distros.
  19.  
  20. Modification is something like this:
  21. chmod -R ${Name} g+rwx data work
  22. If your system minutes multi user system then you can use another command which is
  23. chmod 777 data work
  24.  
  25. Step 3: Setting dependency
  26.  
  27. check python - - version if it is not greater than 2.5 then you need to install the latest python
  28. Installing UltraJSON and moving it to library folder of Brat toolkit
  29. ( cd server/lib/ && unzip ujson-1.18.zip && cd ujson-1.18 && python setup.py build && mv build/lib.*/ ../ujson )
  30. If in case ultraJSON doesn't install, try SimpleJSON all included in the directory.
  31.  
  32. Install it a after extracting it all in the brat directory
  33.  
  34.  
  35. /* -- try to install ultra json as brat server works best here-- */
  36.  
  37.  
  38. Step 4: Final Installation :
  39.  
  40. After all the above steps are over.
  41. Goto brat directory and start installations through
  42. ./install.sh
  43.  
  44.  
  45. Installation should ask for username : editor password : annotate email : admin@example.com
  46. After installation complete you should have an error less page of terminal
  47.  
  48. You need to set few things
  49. Do an apt-get update in your /home to get all repos updated
  50. Set a variable like APACHE_USER = ‘./apache-user.sh’ in your brat dir
  51. Do a service apache2 restart
  52. Now start standalone python program : python standalone.py
  53.  
  54.  
  55.  
  56.  
  57. Your installation is certainly complete.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement