Deploy to shared hosting#

Describes the process to deploy to shared hosting like namecheap

All steps#

Go to CPanel

Choose Terminal

Navigate to the folder you will clone shopyo (typically at folder or folder). See File manager for that

Clone shopyo

git clone

Now on control panel open setup python app

Set the following values

  • Python version: 3.7 works well

  • Application root: folder/shopyo/shopyo

  • Application URL: choose subdomain or adjust ad needed

  • Application startup file:

  • Application Entry point: application

Now it will override your, edit the file and add the initial info on github

Set path = ‘’ in to what you get when on terminal you navigate to folder/shopyo/shopyo and type pwd It needs the absolute file

You also get the path when editing, add everything except /

Now initialise app. On the python app page it will give you an instruction to copy to activate virtual env

paste in terminal and press enter

python3 -m pip install --upgrade pip

python3 -m pip install --upgrade setuptools

python3 -m pip install -r requirements.txt


python3 createconfig

python3 initialise

go to setup python app then restart app

go to your url

go to url/dashboard for login