install Frappe framework -- ubuntu 20.04

  • 0 ตอบ
  • 840 อ่าน
*

อั๋น ทรงวุฒิ

  • Sr. Member
  • ****
  • 326
  • 3
  • แพร่ เวียงโกศัย
    • ดูรายละเอียด
    • songwut.biz
install Frappe framework -- ubuntu 20.04
« เมื่อ: 28 กุมภาพันธ์ 2022, 10:35:52 PM »
sudo apt install -y  curl  git python-dev redis-server python3-pip  mariadb-server-10.3 nvim xvfb libfontconfig wkhtmltopdf  mariadb-client-10.5 libmysqlclient-dev  cron

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
(re-login)

nvm install 14
npm install -g yarn

[/etc/mysql/mariadb.conf.d/50-server.conf]
collation-server = utf8mb4_unicode_ci
bind-address = 0.0.0.0

sudo mysql
grant all privileges on *.* to frappe@'%' identified by 'frappepassword' with grant option;
grant all privileges on *.* to root@localhost identified by 'frappepassword' with grant option;
flush privileges;
exit
sudo /etc/init.d/mysql restart

pip3 install frappe-bench bpytop
bench init frappe-bench

cd frappe-bench
bench new-app hicare
## bench new-site hi.care // bench new-site default.site --db-host 127.0.0.1 --db-root-password frappepassword
bench use hi.care
bench start
« แก้ไขครั้งสุดท้าย: 01 มีนาคม 2022, 09:06:08 AM โดย อั๋น ทรงวุฒิ »