The following requirements are not available on the test server:
sudo apt install ant
sudo apt-get install openjfx
export JAVA_HOME=
Install node and typescript:
sudo apt-get install npm
sudo apt-get install nodejs
sudo npm install -g typescript
sudo ln -s `which nodejs` /usr/bin/node
The following files are required for the installation:
- optbae.zip
- log4j.properties
- curation20170603.zip (timestamp may vary)
In the following it is assumed that these files are in user directory.
NOTE: if log4j.properties is not found, the BAE service will fail at start-up;
see Common.java for loading details.
mkdir git
cd git
git clone https://github.com/cdd/bioassay-express.git bae
git clone https://github.com/cdd/bioassay-template.git bax
git clone https://github.com/aclarkxyz/web_molkit.git WebMolKit
cd bax
ant
Use precompiled pkg/BioAssayTemplate.jar file.
cd ~/git/bae
ant
sudo mkdir /opt/bae
cd /opt/bae
sudo cp ~/log4j.properties .
sudo unzip ~/optbae.zip
sudo mkdir assays
cd ~/git/bae
ant junit
cd ~/git/bae
csh baeconsole transfer importassays ~/curation20170603.zip --init /opt/bae
sudo mkdir /opt/bae/logs
sudo chmod 777 /opt/bae/logs
sudo cp pkg/BioAssayExpress.war /var/lib/tomcat8/webapps
- Server must be password protected and
mongodstarted with the--authflag - provide the user credentials either in the
config.jsonfile or as environment variables
To prevent the possibility of Redirect/Phishing via HTTP Host Injection (CDD-01-003 Web) it is recommended to add baseURI to config.json.
Server installations:
- (private test BioAssay Express)[https://private-test.bioassayexpress.com/]
- (public test BioAssay Express)[https://public-test.bioassayexpress.com/]
If you update the software on an existing server and run into a problem, it is best to clean up the existing installation first.
ant clean
Check that the OAuth keys are correct.