Skip to content

factly/payanam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Payanam

Setup

pip3 install -r requirements.txt

Run

uvicorn payanam_launch:app --port 5500 --reload

Deploy on server: if deploying under a folder path under main host, use --root-path :

nohup uvicorn payanam_launch:app --port 5500 --root-path /payanam &

Will start application on port 5500, http://localhost:5500/

Swagger/OpenAPI docs

http://localhost:5500/docs

Docker

Build:

docker build -t payanam .

Run:

docker run --rm -it -p 5500:5500 \
	-e DB_SERVER='server' -e DB_PORT='5432' \
	-e DB_DBNAME='dbname' -e DB_USER='username' \
	-e DB_PW='pw' \
	payanam

About

Tool for mapping public transport routes to static GTFS format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published