Skip to content

Install ERPNext on ArchLinux

Guten Ye edited this page Jan 29, 2016 · 16 revisions

Install pre-requisites

$ pacman -Syu
$ pacman -S mariadb redis python2 wkhtmltopdf git

Setup MariaDB

https://wiki.archlinux.org/index.php/MySQL#Installation

$ edit /etc/mysql/my.cnf

  [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

Start services

$ sudo systemctl start mysqld redis

Install ERPNext

$ git clone https://github.com/frappe/bench bench-repo
$ sudo pip2 install -e bench-repo
$ bench init frappe-bench && cd frappe-bench
$ bench get-app erpnext https://github.com/frappe/erpnext
$ bench new-site site1.local
$ bench --site site1.local install-app erpnext
$ bench use site1.local
$ bench start

Congrats, now open http://localhost:8000