Skip to content

Loukei/ud303-bookmark-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ud303_Bookmark_Server

A simple URL shortener server, project from Udacity course (ud303).

Demo


Bug tracks

Q: fatal: 'heroku' does not appear to be a git repository

ANS

heroku git:remote -a ud303-bookmark-server-loukei

Reference

Q: No default language could be detected for this app.

ANS:

Make sure all requirements.tx, Procfile, runtime.tx in root folder. Check Procfile after you change main.py location. Then push to heroku again.

Refernece

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.

Q: How to set environment root path when server code deployee to cloud?

Ans

Don't use any hardcode URI in any place(frontend and backend). Use / instaed.

Q: Use github deployee to heroku

GitHub Integration (Heroku GitHub Deploys) | Heroku Dev Center


Reference

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published