Install Frappe Bench and erpnext on macbook

Follow below steps to install frappe bench on macbook

First make sure you have python3.9 and python-devel installed, you can use homebrew to install these

$brew install python3.9

Once installed follow below instructions

$pip3.9 install --upgrade setuptools cryptography psutil
$pip3.9 install --upgrade pip3.9
$git clone ~/.bench --depth 1 --branch develop
$sudo pip3.9 install -e ~/.bench
$cd /var/www
$bench init /var/www/frappe-bench --frappe-path --frappe-branch develop --python python3.9
$cd frappe-bench/

#below command is optional
$./env/bin/pip install numpy && ./env/bin/pip install pandas

#continue after optional command
$bench get-app erpnext --branch develop
$bench new-site --admin-password 'YOUR_ADMIN_PASSWORD' --db-name erpnext_platform --db-host
$bench --site install-app erpnext
$bench start

Add to your host file

$sudo vi /etc/hosts

#in this file add below line

#once added save the file

Now access the domain

comments powered by Disqus