Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.33 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.33 KB

AddisMapTransit web

AddisMapTransit web is an OTP react redux instance for Addis Ababa, Ethiopia.

Acknowledgements

Development

All features/fixes we develop are usually directly contributed to upstream.

So this repo only contains

Local build

docker build . -t addismaptransitweb-local
docker run -p 8080:80 addismaptransitweb-local

Access http://localhost:8080/

Download an run the official image

Create github token: https://github.com/settings/tokens (repo, read:packages)

docker login ghcr.io # username: your github username, password: the above created token
docker run -p 8080:80 ghcr.io/addismap/addismaptransit-web:latest

Access http://localhost:8080/

Build for the server

We use GitHub actions to build the docker image on the main branch.

Update on the webserver

  • ssh into server
  • cd /srv/addismaptransit-web
  • docker-compose pull
  • docker-compose up -d