GraphDBLP-frontend is a front-end UI for GraphDBLP project, that wraps the python queries.
Before running, follow the GraphDBLP Quickstart to have Neo4j running.
You must have Neo4j running and accepting HTTP connections on port 7474, and the GraphDBLP-backend project running on port 8081. To run the GraphDBLP-frontend just type:
docker run -p 80:80 -it -d andreascrivanti/graphdblp-frontend
Open your browser and type the address http://localhost/
This is an Angular 7 project created with Angular-CLI and edited using Visual Studio Code. In dist folder there is the compiled code, that will be included into the docker container.
You can modify the configuration service (src/app/config.service.ts
) to specify the GraphDBLP-backend and neo4j addresses; after those changes, you can run the script deploy.sh
inside the directory scripts
, that compiles the angular application and builds the docker image, using docker on your machine.
Now remove (if already exists), create and launch the container:
sudo docker rm -f graphdblp-frontend-container
sudo docker run -it --name graphdblp-frontend-container -p 80:80 -d graphdblp-frontend