Main Link Show
Step-1 //Install GIT// sudo apt-get install git
Step-2 //Install Python// sudo apt-get install python3-dev
Step-3 sudo apt-get install python3-setuptools python3-pip
Step-4 //Install Python Virtual Enviroment// sudo apt-get install virtualenv sudo apt install python3.10-venv
Step-5 //Install Software Properties Common// sudo apt-get install software-properties-common
Step-6 // Install MYSQL Server// sudo apt install mariadb-server sudo mysql_secure_installation
Step-8 // Setup the Server// sudo nano /etc/mysql/mariadb.conf.d/50-server.cnf
//--Empty or Clear Completly the CNF File and Copy the bellow Code and Paste it.....// //Ctrl+s --- To Save file. //Ctrl+x --- To Exit/Close the file.
[server] user = mysql pid-file = /run/mysqld/mysqld.pid socket = /run/mysqld/mysqld.sock basedir = /usr datadir = /var/lib/mysql tmpdir = /tmp lc-messages-dir = /usr/share/mysql bind-address = 127.0.0.1 query_cache_size = 16M log_error = /var/log/mysql/error.log
[mysqld] innodb-file-format=barracuda innodb-file-per-table=1 innodb-large-prefix=1 character-set-client-handshake = FALSE character-set-server = utf8mb4 collation-server = utf8mb4_unicode_ci
[mysql] default-character-set = utf8mb4
Step-9 //Restart SQL// sudo service mysql restart
Step-10 // Install Redis Server// sudo apt-get install redis-server
Step-11 // Install Curl// sudo apt install curl curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash source ~/.profile
Step-12 // Install Node// nvm install 18
Step-13 // Install NPM// sudo apt-get install npm
Step-14 // Install Yarn// sudo npm install -g yarn
Step-15 // Install PDF// sudo apt-get install xvfb libfontconfig wkhtmltopdf
Step-16 // Install Frappe-Bench// sudo -H pip3 install frappe-bench bench --version
Step-17 // Initialize/Install Frappe-Bench// bench init frappe-bench or bench init frappe-bench --frappe-branch version-15-beta cd frappe-bench/ bench start
Step-18 // create a site in frappe bench// bench new-site site1.local bench use site1.local
Step-19 //Install Payment Module// bench get-app payments bench --site site1.local install-app payments
Step-20 //Download ERPNExt// bench get-app erpnext --branch version-15-beta //---OR----// bench get-app https://github.com/frappe/erpnext --branch version-15-beta
Step-21 //Install ERPNExt// bench --site site1.local install-app erpnext
Step-23 //Download Lending/Loan App// bench get-app lending bench --site site1.local install-app lending
Step-24 //Install Education Module// bench get-app education bench --site site1.local install-app education
//Please note that print designer is only compatible with develop and V15 version.// bench start bench new-site print-designer.test bench --site print-designer.test add-to-hosts bench get-app https://github.com/frappe/print_designer bench --site print-designer.test install-app print_designer
https://print-designer.test:8000/ https://print-designer.test:8000/app/print-designer/
bench start bench new-site insights.test bench --site insights.test add-to-hosts bench get-app https://github.com/frappe/insights bench --site insights.test install-app insights
// IF ERROR// bench update --reset
Step //Disable maintenance mode bench --site site1.local set-maintenance-mode off
//WARN: restart failed: couldnot find supervisorctl in PATH//
sudo apt-get install supervisor sudo nano /etc/supervisor/supervisord.conf
[inet_http_server]
port = 127.0.0.1:9001
username = your_username
password = your_password
sudo nano /etc/supervisor/supervisord.conf
[program:supervisord] command=/usr/bin/supervisord -c /etc/supervisor/supervisord.conf autostart=true autorestart=true redirect_stderr=true environment=PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/path/to/your/virtualenv/bin"
sudo service supervisor restart
//Check Supervisor Status:https:// sudo service supervisor status sudo service supervisor start which supervisorctl
//Check Permissions:https:// sudo usermod -aG sudo your_username supervisorctl status
//Activate Virtual Environment// source /path/to/your/virtualenv/bin/activate
//supervisorctl status// sudo supervisorctl status
cd ~/frappe-bench bench restart