Prerequisite: Docker and Installed Docker Compose
and make sure port 443
and 80
are available.
Notes: This certificate using a self-signed certificate. So if your browser gives you a nottification, you can just continue it.
This platforms are build with microservice architecture, thus we're using a Docker to help us run each nodes using container. The first time you spin this platform up will going to take a long time for it to build, so be patience because there's 2 big container and 2 small container with 1 AI nodes. That being said, the AI nodes are not in this repository because it will create a big container, therefore we move it to production server first and then hit the backend to that production server.
- Clone this repository
- Make this repository as active directory
- Run command
docker-compose up -d
- Open
https://localhost
on your browser - To turn off all the services run
docker-compose down --rmi all
- Clone this repository
- Make this repository as active directory
- Run
cd backend && npm install -f && cd .. && cd frontend && npm install
- Run this command
docker-compose -f docker-compose.dev.yml up -d
.
NOTE: If you're on windows please copy and paste this on your windows terminalCOMPOSE_CONVERT_WINDOWS_PATHS=1
- Open
https://localhost
on your browser - To turn off all the services run
docker-compose -f docker-compose.dev.yml down
Pre-requisite: make
is installed
- Clone this repository
- Make this repository as active directory
- Run
make dev-docker-up
- To turn off all services run
make dev-docker-down
If you're in development mode, you would like to see the logs in realtime in your terminal right?
Run this command to get realtime logs:
docker logs --follow [containerID]
Postman: https://documenter.getpostman.com/view/20088411/UzBsHjao