Installation (on Linux/VPS)
Server Requirements
DoKlika platform is built using Django framework, a high-level Python web framework, which has a few system requirements to meet:
Python 3.7 or higher.
VPS/server requirements:
Linux OS (e.g. Ubuntu, Debian)
At least 1GB RAM & 1 CPU core.
Supported databases
DoKlika supports various databases out of the box, by default DoKlika is using sqlite3 database. You can choose any of these:
MySQL (recommended)
PostgreSQL
SQLite
SQL Server
Installation Guide Video
To install DoKlika platform on your main domain, ensure that your domain is pointing to your server/VPS, you can do so by adding the following DNS Record in your hosting provider:
TYPE HOST VALUE A @ your-server-IPTo install DoKlika on a subdomain (e.g.
https://sub.domain.com) use these DNS Records instead:TYPE HOST VALUE A sub your-server-IPConnect to your VPS/server via SSH (Click here if you don't know how to use SSH)
For security, you need to create another user in your VPS (using
rootuser not recommended), and installing the required dependencies:sudo apt updatesudo apt install unzip docker.io docker-compose -ysudo useradd -m -s /bin/bash doklikasudo usermod -aG sudo,docker doklikaSet a password for the new user (DON'T FORGET IT!):sudo passwd doklikasudo su - doklikaDownload DoKlika platform script from Codecanyon store into your PC.
Use FileZilla to connect to your VPS (use the new user
doklikaand its password, the port is 22).Using FileZilla, upload the .zip file into the home directory of the new user (e.g.
/home/doklika/).Extract the zip file using the following command:
unzip codecanyon-*.zipMake a copy of
.env.examplefile (in the Script folder), and name it.envEdit
.envfile and put your information there (Something like this). Notes: - Put your Envato Purchase Code atENVATO_PURCHASE_CODEin.envfile (Where Is My Purchase Code?). - Ensure to put your Purchase Code and Your domain. - Put database credentials and it's going to create a database for you automatically (no need to create one yourself).Change the
example.comdomain with yours inCaddyfile.Then run the following commands to perform the installation (line by line):
cd $HOME/Scriptdocker-compose up -dsudo rm -fr $HOME/Script/staticdocker exec -it doklika bash /app/docker_install.shCreate an admin account/user for DoKlika:
docker exec -it doklika python3 manage.py createsuperuserRestart DoKlika container:
docker-compose restart doklika caddyNow open in your browser the following links: - DoKlika home page: https://your-domain.com - PHPMyAdmin: https://your-domain.com:9090
After finishing the installation, ensure to do some initial configurations.
Last updated