Website to display swimming conditions at Coney Island / Brighton Beach
poetry install
PORT=12345 poetry run python shallweswim/main.py
- Visit http://localhost:12345
docker build -t shallweswim .
docker run -e PORT=80 -p 12345:80 shallweswim
- Visit http://localhost:12345
Hosted on Google Cloud Run
- Run
./build_and_deploy.sh
Setup with:
# Install poetry from its website (`brew install` version seems problematic on mac)
poetry run pre-commit install
Tools used:
- Format python code with
black
- Type check with
pytype *.py
- HTML/MD/Yaml formatted with
prettier