-
Notifications
You must be signed in to change notification settings - Fork 19
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:
-
git pull
(to get the latest changes from the main branch) - 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)
- Touches the WSGI configuration file, which notifies PythonAnywhere to restart the server process