MicroPyramid / opensource-job-portal

opensource jobportal in python django
https://peeljobs.com
MIT License
372 stars 211 forks source link

hosting with Heroku #119

Open datatalking opened 2 years ago

datatalking commented 2 years ago

Where would I find the settings file or what are the steps to change this for heroku deployment?

datatalking commented 1 year ago

Error comes up for AWS or heroku, how to side step or can you add verbose instructions on how this works with the site. "AWS_SES_REGION_ENDPOINT"

ashwin31 commented 1 year ago

AWS_SES_REGION_ENDPOINT is the region you configure AWS SES to send email. You can search it in AWS documentation or Google. For example: https://stackoverflow.com/questions/13358599/sending-emails-using-django-ses-amazon-ses/13358932#13358932

datatalking commented 1 year ago

Hi @ashwin31, thanks for getting back to me; your speedy reply and (very helpful attached link) have solved two problems but create three more questions if you would permit me to ask.

  1. Where in the code is it stated or labeled how you have your SECRETS data file setup. For this, I'm referring to API, usernames, passwords, and such for AWS services; it has been a few months since I worked on the code, and I don't recall. Perhaps they are not centrally stored for security reasons and you have them hard-coded into the site itself?
  2. What is your "order of operations" if you were going to modify the Django code (of which I am still learning) is there a list or document that describes which files are linked to what URL or MVC element?
  3. How would I monkey-patch the code for testing? This is to say how could, or would I be the way to add variables so I can work on other elements of the site while it's running. Or could we disable that service, or is that the code element that sends and receives messages between the front end and backend?