forked from leonard-thong/SciAnnotate
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4b4cefa
commit 7b81748
Showing
14 changed files
with
63 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM python:3.7.9 | ||
WORKDIR / | ||
RUN git clone https://github.com/leonard-thong/dlwlrat.git /dlwlrat && cd dlwlrat && git checkout lmy-dev && bash ./docker_install.sh | ||
WORKDIR /dlwlrat | ||
RUN git clone https://github.com/leonard-thong/SciAnnotate.git /SciAnnotate && cd SciAnnotate && git checkout lmy-dev && bash ./docker_install.sh | ||
WORKDIR /SciAnnotate | ||
CMD ["python3", "standalone.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
# dlwlrat servlet # | ||
# SciAnnotate servlet # | ||
|
||
This is a full-fledged dlwlrat CGI servlet to deploy dlwlrat on Tomcat. While this | ||
This is a full-fledged SciAnnotate CGI servlet to deploy SciAnnotate on Tomcat. While this | ||
is a bit of an exotic usecase, it is an existing one and this README along | ||
with the XML provided should keep you from crying your eyes out while solving | ||
this exercise. | ||
|
||
# Building # | ||
|
||
First, some words on how this works. You will attempt to create a WAR (Web | ||
application ARchive) containing a working dlwlrat installation. This means you | ||
will first have to install dlwlrat as usual and deploy your data. Create the dlwlrat | ||
folder structure as shown (`dlwlrat/WEB-INF`, `dlwlrat/META-INF`) with the given | ||
`web.xml` and `context.xml`. Copy your previously installed dlwlrat installation | ||
to `dlwlrat/`, then, proving that you don't need ant to build something Java-ish, | ||
simply go to the parent folder of `dlwlrat`, where the `GNUmakefile` is, and run: | ||
application ARchive) containing a working SciAnnotate installation. This means you | ||
will first have to install SciAnnotate as usual and deploy your data. Create the SciAnnotate | ||
folder structure as shown (`SciAnnotate/WEB-INF`, `SciAnnotate/META-INF`) with the given | ||
`web.xml` and `context.xml`. Copy your previously installed SciAnnotate installation | ||
to `SciAnnotate/`, then, proving that you don't need ant to build something Java-ish, | ||
simply go to the parent folder of `SciAnnotate`, where the `GNUmakefile` is, and run: | ||
|
||
make | ||
|
||
This will produce an archive `dlwlrat.war` that you can deploy on Tomcat. | ||
This will produce an archive `SciAnnotate.war` that you can deploy on Tomcat. | ||
|
||
# Installation # | ||
|
||
Drop the `dlwlrat.war` into the Tomcat `webapps` directory and you should be able | ||
Drop the `SciAnnotate.war` into the Tomcat `webapps` directory and you should be able | ||
to access your installation using: | ||
|
||
https://${HOSTNAME}:${PORT}/dlwlrat/ | ||
https://${HOSTNAME}:${PORT}/SciAnnotate/ | ||
|
||
From now on, dlwlrat should work as usual with the exception that it is Tomcat | ||
From now on, SciAnnotate should work as usual with the exception that it is Tomcat | ||
serving your requests. |