mirror of
https://github.com/frappe/bench.git
synced 2024-11-12 00:06:36 +00:00
7a7c61105c
* Added ERPNext to Easy Install * fix site_name issue * fix site_name issue * uncomment * fix -ask password * Added ERPNext install to centos, debian, macosx * Set site1.local as default sitename * Update README.md * Restrict ERPNext installation for production * Added checks for existing sites and apps * Included setup_erpnext.yml in setup_dev_env.yml * Fixed erpnext ImportError issue with bench new-site command.
35 lines
803 B
YAML
35 lines
803 B
YAML
---
|
|
- hosts: localhost
|
|
vars:
|
|
bench_repo_path: "/Users/{{ ansible_user_id }}/.bench"
|
|
bench_path: "/Users/{{ ansible_user_id }}/frappe-bench"
|
|
mysql_config_template: "templates/simple_mariadb_config.cnf"
|
|
mysql_conf_dir: /usr/local/etc/my.cnf.d
|
|
|
|
tasks:
|
|
|
|
# install pre-requisites
|
|
- name: install prequisites
|
|
homebrew: name={{ item }} state=present
|
|
with_items:
|
|
- cmake
|
|
- redis
|
|
- mariadb
|
|
- nodejs
|
|
|
|
# install wkhtmltopdf
|
|
- name: cask installs
|
|
homebrew_cask: name={{ item }} state=present
|
|
with_items:
|
|
- wkhtmltopdf
|
|
|
|
# setup MariaDB
|
|
- include: includes/setup_mariadb.yml
|
|
|
|
# setup frappe-bench
|
|
- include: includes/setup_bench.yml
|
|
|
|
# setup development environment
|
|
- include: includes/setup_dev_env.yml
|
|
when: not production
|
|
|