mirror of
https://github.com/frappe/bench.git
synced 2024-11-11 15:51:03 +00:00
working on ubuntu
This commit is contained in:
parent
94d346ccad
commit
ac6e5a3a2f
@ -12,8 +12,6 @@
|
||||
- name: move /tmp/.bench if it exists
|
||||
command: 'cp -R /tmp/.bench {{ bench_repo_path }}'
|
||||
when: tmp_bench.stat.exists and not bench_repo_register.stat.exists
|
||||
become: yes
|
||||
become_user: frappe
|
||||
|
||||
- name: install bench
|
||||
pip: name={{ bench_repo_path }} extra_args='-e'
|
||||
|
@ -20,6 +20,7 @@
|
||||
dest: "/var/run/mysqld/mysqld.sock"
|
||||
state: link
|
||||
become: yes
|
||||
become_user: root
|
||||
|
||||
- name: Link mysql.pid file for MariaDB
|
||||
file:
|
||||
@ -27,14 +28,13 @@
|
||||
dest: "/var/run/mysqld/mysqld.pid"
|
||||
state: link
|
||||
become: yes
|
||||
become_user: root
|
||||
|
||||
- name: create a new default site
|
||||
command: bench new-site site1.local --admin-password {{ admin_password }} --mariadb-root-password {{ mysql_root_password }}
|
||||
args:
|
||||
chdir: "{{ bench_path }}"
|
||||
when: not site_folder.stat.exists
|
||||
become: yes
|
||||
become_user: frappe
|
||||
|
||||
- name: install erpnext to default site
|
||||
command: bench --site site1.local install-app erpnext
|
||||
|
Loading…
Reference in New Issue
Block a user