A simple URL shortener server, project from Udacity course (ud303).
heroku git:remote -a ud303-bookmark-server-loukei
Make sure all requirements.tx
, Procfile
, runtime.tx
in root folder.
Check Procfile
after you change main.py
location.
Then push to heroku again.
A requirements.txt must be present at the root of your application's repository to deploy. To specify your python version, you also need a runtime.txt file - unless you are using the default Python runtime version. Current default Python Runtime: Python 3.10.4 Alternatively, you can provide a setup.py file, or a Pipfile. Using pipenv will generate runtime.txt at build time if one of the field python_version or python_full_version is specified in the requires section of your Pipfile.
Don't use any hardcode URI in any place(frontend and backend). Use /
instaed.
GitHub Integration (Heroku GitHub Deploys) | Heroku Dev Center