Docker Container for the Edith-commentary tool
NOTE!
- Change the default MySQL password in the docker-compose.yaml file.
- You may also skip step #6 if you edith the edithusers file in /edith/edithusers before the step #3.
- You can add new SVN users with the command in step #6.
- You can also add new Edith-commentary tool users with the command in step #12.
Instructions
- Clone the repository
- CD to the folder
- run: docker-compose build
- run: docker-compose up -d
- run: docker ps (copy container id for edithdocker_web and edithdocker_mysql-db)
- run: docker exec -it [container id for edithdocker_web] htpasswd -m /etc/apache2/edithusers svn_user
- Download a SVN client
- Do a SVN Checkout on http://[your ip]:8282/svn/documents
- run: docker exec -it [container id for edithdocker_mysql-db] docker exec -it [container id for edithdocker_mysql-db] mysql -u root -p edith
- run (in mysql client started above #9): delete from user;
- Generare a SHA-1 password (e.g. http://www.sha1-online.com/)
- run (in mysql client started above #9): INSERT INTO
edith
.user
(firstName
,password
,profile
,username
,active
) VALUES ('svn_user', '[SHA-1 password]', 'User', 'svn_user', '1'); - Login to the Edith tool on http://[your ip]:8082/edith
- Add XML documents through the Edith-commentary tool or through SVN.