setup/doc/static-gtfs-manager.md

1.1 KiB

Deploy Static-gtfs-manager

Overview

The static-gtfs-manager project is to be deployed.

Preparation

Make sure docker is installed in development environment and on deployment host.

Build image in development environment.

cd
git clone git@github.com:WRI-Cities/static-GTFS-manager.git
cd static-GTFS-manager
docker build -t static-gtfs-manager .
docker images
docker tag static-gtfs-manager:latest <user>/static-gtfs-manager:<tag>
docker images
docker login -u <user>
docker push <user>/static-gtfs-manager:<tag>

Deployment

Refer to issue for a discussion about why it is not possible to run a Docker image that is pulled from a Docker repository on a Server.

Call the following instruction set to build and run locally.

cd
git clone git@github.com:WRI-Cities/static-GTFS-manager.git
cd static-GTFS-manager
docker build -t static-gtfs-manager .
docker run --rm -it -p 5000:5000 -v "$(pwd)":/app static-gtfs-manager