Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/source/project_features/deployments/digitalocean.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
DigitalOcean
============

There a couple of house keeping steps to take before deploying to DigitalOcean. You can
There are a couple of house keeping steps to take before deploying to DigitalOcean. You can
read more about the steps `here <https://docs.digitalocean.com/products/app-platform/how-to/deploy-from-github-actions/#prerequisites>`_.

.. note::
Expand Down
3 changes: 3 additions & 0 deletions hooks/post_gen_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,13 @@ def rename_file(old: str, new: str):
for p in DEPLOYMENT_FILES:
remove_file(p)

remove_file("bin/provision-app.sh")


if "{{ cookiecutter.deployments }}" == "render":
print("Removing digitalocean deployment file(s)...")
remove_file("digitalocean.yaml")
remove_file("bin/provision-app.sh")


if "{{ cookiecutter.deployments }}" == "digitalocean":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ requires-python = ">={{ cookiecutter.py_version }}"
readme = "README.md"
dependencies = [
"alembic==1.13.2",
"sqlalchemy==2.0.34",
"sqlalchemy==2.0.41",
"psycopg[binary]==3.1.13",
"fastapi==0.114.0",
"pydantic-settings==2.4.0",
"sqlmodel==0.0.21",
"fastapi==0.116.1",
"pydantic-settings==2.10.1",
"sqlmodel==0.0.24",
{%- if cookiecutter.use_celery == "yes" %}
"redis==4.6.0",
"fastapi-cache2[redis]==0.2.2",
"celery[beat]==5.2.7",{%- endif %}
"uvicorn[standard]==0.23.2",
"uvicorn[standard]==0.35.0",
"PyYAML==6.0.1",
"httpx==0.25.0",
"httpx==0.28.1",
"gunicorn==23.0.0",
{%- if cookiecutter.use_sentry == "yes" %}
"sentry-sdk[fastapi]==2.33.0",{%- endif %}
Expand Down
Loading