sudo apt-get update
sudo apt install python3-minimal build-essential python3-setuptools python3-pip python3-venv
python3 -m venv fenv
source fenv/bin/activate
pip install pip --upgrade
sudo apt-get install software-properties-common
sudo apt-get install mariadb-server-10.3
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
nvm install 14
node -v
npm install -g yarn
sudo apt-get install xvfb libfontconfig wkhtmltopdf
pip3 install frappe-bench
bench init frappe-bench
cd frappe-bench
bench new-site --db-host localhost --db-port 3306 site1.local
bench get-app erpnext https://github.com/frappe/erpnext
bench --site site1.local install-app erpnext
bench start
- https://frappeframework.com/docs/user/en/bench/bench-commands#general-usage
- https://frappeframework.com/docs/user/en/bench/guides/setup-production
- Default username
Administrator
sudo apt-get install supervisor
bench setup supervisor
sudo ln -s `pwd`/config/supervisor.conf /etc/supervisor/conf.d/frappe-bench.conf
apt-get install nginx
bench setup nginx
sudo ln -s `pwd`/config/nginx.conf /etc/nginx/conf.d/frappe-bench.conf
service nginx restart