2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 15:51:03 +00:00
bench/playbooks/develop/macosx.yml

42 lines
920 B
YAML
Raw Normal View History

2016-03-15 06:54:17 +00:00
---
- hosts: localhost
vars:
bench_repo_path: "/usr/local/frappe/bench-repo"
bench_path: "/Users/{{ ansible_user_id }}/frappe/frappe-bench"
mysql_config_template: "develop/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
- npm
when: ansible_os_family == 'Darwin'
# install wkhtmltopdf
- name: cask installs
homebrew_cask: name={{ item }} state=present
with_items:
- wkhtmltopdf
when: ansible_os_family == 'Darwin'
# setup MariaDB
- include: develop/setup_mariadb.yml
# setup frappe-bench
- include: develop/setup_bench.yml
# setup procfile
# setup config for redis/socketio
# setup common_site_config
# set developer_mode