Final README tweaks

This commit is contained in:
Laurie Voss
2024-01-06 11:08:59 -08:00
parent 7791c93db9
commit 7bd72c886d
+2 -8
View File
@@ -261,14 +261,8 @@ Set up a Render account (we recommend logging in with your GitHub account, to si
3. Set the root directory to `flask_app` 3. Set the root directory to `flask_app`
4. Set the runtime to Python 3 4. Set the runtime to Python 3
5. Select the Free tier 5. Select the Free tier
6. Set `gunicorn app:app --timeout 120` as your start command (the responses can take a while to generate)
**Important: set `PYTHON_VERSION`**. Your first deploy will fail because some packages will not be found, to fix this, set your python version to the same one you're using locally: 7. **Important: set `PYTHON_VERSION`**. Scroll down to "environment variables" and set the `key` to `PYTHON_VERSION` and the value to `3.11.6` (or whatever version you're using locally)
1. Go to "Environment"
2. Select "Add environment variable"
3. Set the `key` to `PYTHON_VERSION` and the value to `3.11.6` (or whatever version you're using locally)
4. Click "save changes"
5. Go to the "Deploy" button in the top right and select "deploy latest commit". It should now deploy successfully.
### Add your `.env` environment variables to Render ### Add your `.env` environment variables to Render