ERP15 as a monolith includes the following areas for managing businesses:
- Accounting
- Warehouse Management
- CRM
- Sales
- Purchase
- HRMS
- Project Management
- Support
- Asset Management
- Quality Management
- Manufacturing
- Website Management
- Customize ERPNext
- And More
ERPNext is built on the Frappe Framework, a full-stack web app framework built with Python & JavaScript.
The Easy Way: our install script for bench will install all dependencies (e.g. MariaDB). See https://github.com/frappe/bench for more details.
New passwords will be created for the ERPNext "Administrator" user, the MariaDB root user, and the frappe user (the script displays the passwords and saves them to ~/frappe_passwords.txt).
Useful:
bench get-app --branch main https://github.com/quanteonlab/erp15
bench --site dev_site_ab install-app erp15
A complete Guide to Install Frappe/ERPNext version 15 in Ubuntu 22.04 LTS
Python 3.11+
Node.js 18+
Redis 5 (caching and real time updates)
MariaDB 10.3.x / Postgres 9.5.x (to run database driven apps)
yarn 1.12+ (js dependency manager)
pip 20+ (py dependency manager)
wkhtmltopdf (version 0.12.5 with patched qt) (for pdf generation)
cron (bench's scheduled jobs: automated certificate renewal, scheduled backups)
NGINX (proxying multitenant sites in production)
sudo apt-get install git
sudo apt-get install python3-dev
sudo apt-get install python3-setuptools python3-pip
sudo apt install python3.11-venv
sudo apt-get install software-properties-common
sudo apt install mariadb-server
sudo mysql_secure_installation
In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
haven't set the root password yet, you should just press enter here.
Enter current password for root (enter for none): # PRESS ENTER
OK, successfully used password, moving on...
Switch to unix_socket authentication [Y/n] Y
Enabled successfully!
Reloading privilege tables..
... Success!
Change the root password? [Y/n] Y
New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables..
... Success!
Remove anonymous users? [Y/n] Y
... Success!
Disallow root login remotely? [Y/n] Y
... Success!
Remove test database and access to it? [Y/n] Y
- Dropping test database...
... Success!
- Removing privileges on test database...
... Success!
Reload privilege tables now? [Y/n] Y
... Success!
sudo apt-get install libmysqlclient-dev
sudo nano /etc/mysql/mariadb.conf.d/50-server.cnf
add this to the 50-server.cnf file
[server]
user = mysql
pid-file = /run/mysqld/mysqld.pid
socket = /run/mysqld/mysqld.sock
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
lc-messages-dir = /usr/share/mysql
bind-address = 127.0.0.1
query_cache_size = 16M
log_error = /var/log/mysql/error.log
[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
Now press (Ctrl-X) to exit
sudo service mysql restart
sudo apt-get install redis-server
sudo apt install curl
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
source ~/.profile
nvm install 18
sudo apt-get install npm
sudo npm install -g yarn
sudo apt-get install xvfb libfontconfig wkhtmltopdf
sudo -H pip3 install frappe-bench
bench --version
sudo mysql -u root ALTER USER 'root'@'localhost' IDENTIFIED BY '1234'; FLUSH PRIVILEGES; EXIT;
bench init frappe-bench --frappe-branch version-15 --python python3.11
cd frappe-bench/
bench start
bench new-site demo.com
bench --site demo.com add-to-hosts
Open url http://demo.com:8000 to login
usar la version Nuestra
bench get-app --branch main https://github.com/quanteonlab/erp15
bench --site dev_site_ab install-app erpnext
Get started
bench use dev_site_ab
bench start
version official
bench get-app erpnext --branch version-15
###OR
bench get-app https://github.com/frappe/erpnext --branch version-15
bench --site demo.com install-app erpnext
bench start
MACOS
install brew
rm -rf /usr/local/var/mysql
rm -rf /usr/local/etc/my.cnf.d
brew service mariadb@10.11
brew install libmpdclient
brew link --force --overwrite mariadb@10.11
bench init frappe-bench --frappe-branch version-15
make sure to create frappe with user/db frappe/frappe123 y tabla 127.0.0.1
bench new-site dev_site_ab \
--db-type mariadb \
--db-host 127.0.0.1 \
--mariadb-root-username frappe \
--mariadb-root-password 'frappe123' \
--admin-password 'Admin123!' \
--db-password 'SiteDBPass123!'
usar la version actual
bench get-app --branch main https://github.com/quanteonlab/erp15
bench --site dev_site_ab install-app erpnext
Get started
bench use dev_site_ab
bench start
user
Administrator
Admin123!
➜ frappe-bench sudo brew services start mariadb
Password:
Error: Formula mariadb is not installed.
➜ frappe-bench brew services start mariadb@10.11
==> Successfully started mariadb@10.11 (label: homebrew.mxcl.mariadb@10.11)
➜ frappe-bench brew services list
Name Status User File
dbus none
mariadb none root
mariadb@10.11 started nenewang ~/Library/LaunchAgents/homebrew.mxcl.mariadb@10.11.plist
postgresql@14 none
postgresql@15 none
redis none
unbound none