Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.02 KB

cpanel.md

File metadata and controls

34 lines (24 loc) · 1.02 KB

cPanel Deployment

Pulling Changes from main

  • Go to Git version control from the interactiveart dashboard

  • Click Manage for the interactive-art repo

  • Click the Pull or Deploy tab

  • Click Update from Remote

  • Finally click Deploy HEAD Commit

    • This follows the commands in the .cpanel.yml file, which just copies the files from the repo to its appropriate place and restarts the server

Installing New Python Packages

If there are any new Python dependencies take the following steps

  • Go to the python app

  • Click the edit symbol

  • Click Run Pip Install for requirements.txt

  • Finally click Restart

Clearing Cache

If major changes were made to the backend we want to clear the cache because the precomputed results will be inconsistent. To do so:

  • Type in clear_cache.py in the execute python script section of the python app then click Run Script