-
Notifications
You must be signed in to change notification settings - Fork 15
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
Expand installation instructions in README.md #77
Comments
Thanks a lot! |
Hi, I was hoping to be able to try this annotation server out, but it has not been going well, I do not use Java very much but I am normally enable to follow instructions :-) I have managed to install the stated prerequisites and build each of the four elucidate-**** systems using the Maven command and everything has worked well and I have created an Annotation.war file. Now I can deploy the war file, but it fails to do anything, and gives an error when I try to start it, so I am assuming I need to do more before it can start up. The configuration section indicates that the "elucidate-server.properties" files needs to be referenced but it is very unclear where or how? For the database, there are a huge number of scripts, are they all required, are they needed in a specific order, has anyone already combined then into a single file in the correct order? Does the "properties" file and the database scripts need to be sorted before the server is built? It would be great to be able to potential use this server. Thanks Joe |
Hi, Joe I am a beginner of Java and I even do not know how to create war files. I cannot figure out how to use elucidate-server, so I changed to another server. Actually, I tried all annotation servers and used the one which can be worked on my computer(Windows) and cloud server(Linux). Hope it can help you. |
Hi @jpadfield, @tyy0402, I understand your concerns here, there are improvements we can and are making to make this a bit easier for the non-technical / non-Java users out there to install and get up and running. With regards to For Windows users:
and add:
For Linux users
and add:
The For the database, all the scripts do need to be run and the following order should satisfy the various constraints and allow everything to be created without error:
We're currently working to containerise Elucidate and automate the database installation and subsequent database upgrades, this should allow Elucidate to be deployed much quicker in the future. I'll also look to start including pre-compiled binaries of Elucidate with future releases, to save users having to compile it themselves. Bear with us! Thanks, |
@danielgrant Thank you very much for your response, hopefully that will be enough to get me going :-) I fully understand that these things can be complicated and its is great that it is available for use, thanks. I have gone through a number of steps but once I have things working, if I ever manage to come up with a clear description of what I have done I can post it if it is useful Also thanks @tyy0402 for your response. Joe |
For the scripts, from your list it was easy to make:
|
@danielgrant I have tried running the combined SQL and unfortunately is does not seem to be happy. Most of it runs fine and it does run to the end, but there are a lot of errors relating to "types" and "functions" that do not exist. There are also a few syntax errors and one related to the fact that encrypted passwords are no longer supported. I am happy to do some more testing or make some changes, if you have time : -) Thanks Joe |
Most of the errors were related to the user issue at the start - removing the "UNENCRYPTED" in front of the password allowed it all to run - just one syntax error, which I am just looking at. |
Hi @jpadfield, there is a syntax error in one of the SQL scripts that is fixed and merged, but yet to be released. It's likely the one here that you need to fix: 08f8863. |
Yes that's the one, in the file: /views/annotation_collection_get.sql line 17:
|
Hi, I hope I am almost there now, but there still seem to be some issues deploying the war file. I seem to be getting a lot of errors relating to creating beans relating to oaAnnotation... which I assume is related to the settings in the "elucidate-servers.properties" file. (I also seem to have some errors relating to log4j as well but they do not seem to be breaking things) The tomcat log is quite log but starts with the following:
|
Hi @jpadfield, You'll want to change the E.g., base.scheme=http
base.host=localhost
base.port=8080
base.path=/annotation |
@garyttierney - the war file now deploys :-) The root page /annotation returns a 404, but I will now explore how to actual use the server. Thanks |
i got the server deployed with docker but i'm not able to figure how to use.
|
Hi @atomotic, You can locate usage instructions in There is nothing available under the root path Cheers, |
The current
README.md
assumes a certain degree of knowledge around the building and deployment of Java web applications (i.e..war
's).These instructions should be expanded to include compilation of
elucidate-server
itself, as well as additional steps to get up and running, for non-technical users or users not familiar with Java.The text was updated successfully, but these errors were encountered: