Is an interactive and responsive web interface for the heterogenous, molecularbiological network database NeDRexDB. A live instance can be found at web.nedrex.net.
Use the web/docker-compose.sh to regenerate images.
Execute the bash script in the web directory with following parameter:
- Local production test images:
./docker-compose.sh prod - Current server configuration images:
./docker-compose.sh uhh
Use the docker-compose file to deploy NeDRex-Web on your machine: Adjust image names based on the purpose:
- Local execution:
andimajore/nedrex_repo:serverandandimajore/nedrex_repo:web - Execution on exbio servers:
andimajore/nedrex_repo:server_exbioandandimajore/nedrex_repo:web_exbio
wget https://raw.githubusercontent.com/AndiMajore/RepoScapeWeb/master/docker-compose.yml -O docker-compose.yml
docker-compose pull
docker-compose upNeDRex-Web interface is running on localhost:8080/nedrex/
First clone the project:
git clone https://github.com/AndiMajore/RepoScapeWeb.gitor
git clone https://github.com/AndiMajore/RepoScapeWeb.git
git@github.com:AndiMajore/RepoScapeWeb.gitUse the docker container andimajore/nedrex_repo:db execute it with the parameters from the db-service in the docker-compose file and map the exposed port to default mysql port (33060:3306): or Set up a MySQL database and use the database setup batch file:
mysql < (curl https://raw.githubusercontent.com/AndiMajore/RepoScapeWeb/master/web/resources/scripts/db_setup.sh)
Use IDE to run Main-Class/Spring-Boot-Application.
cd web/frontend
npm run serve
If the services are planned to be deployed using a tomcat server, the configuration files used for the dockerized tomcat versions can be found in frontend/docker/ and backend/docker/.
Use maven to compile project and start application, make sure you use >=java14.
cd web/backend
mvn package
java -Xmx4g -jar target/nerdrexweb-backend.war
or deploy with a tomcat server.
Generate webcontent to dist/ directory:
cd web/frontend
npm run build
Host paths can be set by according editing the src/Config.js file before building.
The content of dist/ can be served by nginx or tomcat server.