Skip to content

01. Deployment

dragarcia edited this page May 10, 2020 · 10 revisions

Deployment

After cloning our GitHub project, you can proceed with Local Deployment (for development) or Heroku Deployment (for production). For both deployment approaches, we uses Docker and Docker Compose for easier set-up

Note: The required YOLOv3 pre-trained weights will be downloaded when building the Docker Images. As a result, the building of Docker Images can take up to 15 ~ 20 mins

1. Local Deployment

1.1 Build Dockers

### (Re-)Building the Docker Images
$ docker-compose build

1.2 Starting Docker Containers

## Deploying Containers
$ docker-compose up

## Deploying Containers (In Detach Mode)
$ docker-compose up -d

1.3 Stopping Docker Containers

## Deploying Containers
$ docker-compose down

Clone this wiki locally