Installation (on Cpanel)

Cpanel requirements

To install DoKlika on Cpanel, You need the following:

  • Cpanel should have "Python App Setup" feature.

  • A Terminal or SSH access.

If your Cpanel doesn't have "Python App Setup" or Terminal access, ensure to contact your hosting provider to enable it for you.

Installation instructions

  1. Now, Let's go and create a Python app from your Cpanel:

    Ensure the "Application root" is set to doklika (this will create "/doklika" folder automatically):

    Then, look for Terminal from your Cpanel:

    Past the command and hit enter, Keep the Terminal window open, will need it later:

  2. Upload the zip file to public_html folder, then extract it:

    From your File Manager ensure "show hidden files" option is enabled (from Settings) before coping anything:

    Ensure to copy the files to "/doklika" folder (this folder has been created by Python App Setup).

    -Edit .env files then save the changes. - Put your Envato Purchase Code at ENVATO_PURCHASE_CODE in .env file (Where Is My Purchase Code?).

    -Ensure to set DB_TYPE='sqlite3' (recommended for Cpanel), and no need to add any database credentials, just leave it empty.

  3. After saving .env file, go back to the Terminal, then run the following command to perform the installation: chmod +x scripts/cpanel_install.sh && ./scripts/cpanel_install.sh Note: The installation command may take up to 5 minutes.

  4. Then let's create an admin account to login into DoKlika dashboard: python3 manage.py createsuperuser

  5. Finally, just restart the python application, then browse your domain.

Important Notes: - Do not delete the "assets" and "media" folders at "public_html". - Don't delete or edit the .htaccess in the "public_html" folder. - The db.sqlite3 files is the DoKlika database, don't delete it, keep it safe, and don't edit it or change its path.

If you run into any installation issues, ensure to contact us.

Last updated