# Deploy Static-gtfs-manager # Overview The [static-gtfs-manager](https://github.com/WRI-Cities/static-GTFS-manager) project is to be deployed. # Preparation Make sure [docker](docker.md) 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 /static-gtfs-manager: docker images docker login -u docker push /static-gtfs-manager: ``` # Deployment Refer to [issue](https://github.com/WRI-Cities/static-GTFS-manager/issues/165) 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 ```