Skip to content

Deployments

Zack Hable edited this page Mar 18, 2021 · 1 revision

Deployments are handled automatically via Github Webhooks push events to the system's update route. The system will then return an "update initiated" response after verifying the request (this is due to Github's 10s timeout). In the background the actual update process will be invoked which executes the following commands:

  1. git pull (to get the latest changes from the main branch)
  2. The setup app script to load any new data (ensure any data loading scripts check prior to insertion of data otherwise they will be duplicated on updates)
  3. Touches the WSGI configuration file, which notifies PythonAnywhere to restart the server process
Clone this wiki locally