All Projects → matthewepler → recodesite

matthewepler / recodesite

Licence: other
No description, website, or topics provided.

Programming Languages

processing
702 projects
HTML
75241 projects
python
139335 projects - #7 most used programming language
Rich Text Format
576 projects
  • Clone heroku code
  • copy heroku env vars into a .env file at project root
  • comment out any lines in the .env file related to python and paths
  • add a SECRET_KEY entry in the .env file set to any random string of characters
  • create a virtual environment and activate it
  • pip install -r requirements.txt
  • heroku local web

To get hot reloading on the server so you can see your changes without restarting the server, go the bottom of app.py and turn debugging on.

Managing Database

It is recommended to use MongoDB Compass (local app) to connect to the database to edit/delete records. You will need the connection URI with user:pswd to connect. See env vars.

Change log


04/2020 - User reported being unable to submit translation Cause: outdated code Fixes:

  • updated python runtime version
  • updated failing function calls
  • updated boto s3 connection function names
  • created new AWS access key and updated Heroku config vars

08/2020 - Migration to MongoDB Atlas mLab is being shut down so had to migrate

  • changed value of MONGOLAB_URI env var in heroku settings
  • added dnspython to requirements
  • changed password in Atlas settings for default user (removed @)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].