Files
archived-starters/examples/starlette
Anurag 50ee57407e feat: add example for starlette.io (#72)
* feat: add example for starlette.io

* feat: link additional documentation

* feat: dev hot reload docker command
2021-04-10 01:04:02 -07:00
..

Python Starlette Example

This is a Starlette app that serves a simple JSON response.

Deploy on Railway

Features

  • Python
  • Starlette

💁‍♀️ How to use

  • Build the docker image docker build -t railway .
  • Start the container docker run -d --name railway-test -p 80:80 railway
  • For auto restart in development docker run -d -p 80:80 -v $(pwd):/app railway /start-reload.sh

Note: Advance users may refer to this