2
0
mirror of https://github.com/frappe/bench.git synced 2025-02-11 07:08:30 +00:00

fix: separate out scripts

This commit is contained in:
Saurabh 2019-06-14 18:08:14 +05:30
parent d5003e1944
commit b6dd496e35
3 changed files with 5 additions and 8 deletions

View File

@ -39,9 +39,6 @@
- name: setup bench and dev environment
hosts: localhost
become: '{{ use_sudo }}'
become_user: '{{ frappe_user }}'
become_method: sudo
vars:
bench_repo_path: "/home/{{ frappe_user }}/.bench"
bench_path: "/home/{{ frappe_user }}/{{ bench_name }}"

View File

@ -1,8 +1,5 @@
#!/bin/bash -eux
# Install base requirements.
apt-get install -y curl git wget vim python-dev gcc
# Install ERPNext
wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py
sudo python install.py --develop --user frappe --mysql-root-password frappe --admin-password admin
python install.py --develop --user frappe --mysql-root-password frappe --admin-password admin

View File

@ -73,6 +73,9 @@
},{
"type": "shell",
"execute_command": "echo 'frappe' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
"script": "scripts/debian_family/install_prerequisites.sh"
}, {
"type": "shell",
"script": "scripts/debian_family/install_erpnext_develop.sh"
}, {
"type": "shell",