Deploy to Render Cloud Hosting Service
1. Initialise your local project as a Git repository
git init
git add -A
git commit -m "Initialise project with first major commit"
2. Create a new remote repository on GitHub
Go to github.com and create a new repo.
3. Push the code from your local repo to the remote
You can double check that the local and remote repos have been linked correctly by running this command in your project directory:
git remote -v
4. Create new web service on Render
Go to render.com and click: New -> Web Service.
In the next form, use the following settings:
Build command: pip install -r requirements.txt
Start command: gunicorn wsgi:app
Under Environment Variables, fill in the following key/value pairs:
| Key | Value |
|---|---|
PROD_APP_SETTINGS |
config.ProductionConfig |
PYTHON_VERSION |
3.13.7 |
RENDER_DB_URL |
•••••••••••• |
SECRET_KEY |
•••••••••••• |
SECURITY_PASSWORD_SALT |
•••••••••••• |
Choose whether you would like to use a Free or Paid instance, then click the Deploy Web Service button at the bottom of the page.