- Clone and build the backend
a)git clone https://github.com/public-data-space/public-data-space-connector.git
b)mvn clean package
- Clone and build the zenodo adapter
a)git clone https://github.com/public-data-space/public-data-space-zenodo-adapter.git
b)mvn clean package
- Clone and build the frontend
a)git clone https://github.com/public-data-space/public-data-space-ui.git
b)npm install
- Start the database
docker run --name ids -p 5432:5432 -e POSTGRES_PASSWORD=ids -e POSTGRES_USER=ids -e POSTGRES_DB=ids postgres
- Start the backend (inside the public-data-space-connector directory)
java -jar .\target\public-data-space-connector-2.1.0-fat.jar
- Start the zenodo adapter (inside the public-data-space-zenodo-adapter directory)
java -jar .\target\public-data-space-zenodo-adapter-1.1.0-fat.jar
- Start the frontend (inside the public-data-space-ui)
npm run dev
Frontend is available at localhost:8081/browse (username:admin, password:admin)
Note: make sure the following ports are free:
Connector | UI | Zenodo-adapter | Database | |
---|---|---|---|---|
URL | localhost:8080 | localhost:8081 | localhost:8070 | localhost:5432 |
Run the following commands (inside the public-data-space-connector directory, make sure all other repositories are at the same level)
docker-compose -f docker-compose_build.yml up -d db
docker-compose -f docker-compose_build.yml up -d public-data-space-connector
docker-compose -f docker-compose_build.yml up -d public-data-space-zenodo-adapter
docker-compose -f docker-compose_build.yml up -d public-data-space-ui
docker-compose -f docker-compose_build.yml up -d nginx
Frontend is available at localhost/browse (username:admin, password:admin)