Installation Of Frappe Bench
Git Clone the Infra Utils Repository using command:
git clone https://github.com/techfinite-org/Infra-Utils.git
Get into Infra Utils directory using command:
cd Infra-Utils
Install MariaDB using Script File. To run the Script File give the command:
./install_mariadb.sh
While Installing MariaDB, it will ask whether to change the root password. Type "yes" and give the New Password for Root. It will ask some other questions like deleting Test user and Test Databases, Reload the privileges.
Install Frappe Bench and its dependencies using Script File. To run the Script File give the command:
./install_frappe.sh
Now after Installed the frappe. You can create New bench using command:
bench init {{bench_name}}
After the new bench create get into that bench using the following command:
cd {{bench_name}}
Now after Created the Bench. You can create New Site using command:
bench new-site {{site_name}} --db-name {{database_name}} --install-app erpnext
It will ask you MariaDB root Password. After Entering Password new site will be created.
To use the created site as current site. Use the command:
bench use {{site_name}}
To Start the Bench. Use the command:
bench start