Installation for Developer
Environment Setup for Developer
Always install the latest version
- Install Docker Desktop for Windows and Mac or Docker Engine for Ubuntu
- Install Node.js
- Run
docker-compose build --parallelin the project's directory.
Run Everything
Run the commands, this will take a while for the first time
docker-compose up
You can then open
- Node.js Primary Server http://localhost:5000
- Python Secondary Server http://localhost:5001
- Frontend http://localhost:3000
- GraphDB http://localhost:7200
- MongoDB http://localhost:27017
Run Selected Components
This can be achieved by using Docker Dashboard if you are using Windows/Mac OS
Run Databases Only (Full Stack Dev)
note
Useful for Full Stack Developer or someone wants to run node server and frontend server in the local environment.
docker-compose up -d graphdb mongodb
Run Databases and Node Server (Frontend Dev)
note
Useful for Frontend Developer or someone wants to run the frontend server in the local environment.
docker-compose up -d graphdb mongodb server
Run Databases and Frontend Server (Backend Dev)
note
Useful for Backend Developer or someone wants to run node server in the local environment.
docker-compose up -d graphdb mongodb frontend
Stop Everything
docker-compose stop