mirror of
https://github.com/frappe/bench.git
synced 2025-01-24 15:38:25 +00:00
[fix] wkhtmltopdf executable
This commit is contained in:
parent
2cdd938d49
commit
3fe7392fa0
18
README.md
18
README.md
@ -90,21 +90,25 @@ Open your Terminal and enter:
|
|||||||
|
|
||||||
#### 1. Download the install script
|
#### 1. Download the install script
|
||||||
|
|
||||||
# Linux:
|
For Linux:
|
||||||
|
|
||||||
wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py
|
wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py
|
||||||
|
|
||||||
# Mac OSX:
|
For Mac OSX:
|
||||||
|
|
||||||
|
Install X Code (from App store) and HomeBrew (http://brew.sh/) first
|
||||||
|
|
||||||
# install X Code (from App store)
|
|
||||||
# install HomeBrew (http://brew.sh/)
|
|
||||||
brew install python
|
brew install python
|
||||||
brew install git
|
brew install git
|
||||||
curl "https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py" -o install.py
|
curl "https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py" -o install.py
|
||||||
|
|
||||||
#### 2. Run the install script
|
#### 2. Run the install script
|
||||||
|
|
||||||
For development:
|
If you are on a fresh server and logged in as root, use --user flag to create a user and install using that user
|
||||||
|
|
||||||
|
python install.py --develop --user frappe
|
||||||
|
|
||||||
|
For the current user:
|
||||||
|
|
||||||
sudo python install.py --develop
|
sudo python install.py --develop
|
||||||
|
|
||||||
@ -112,10 +116,6 @@ For production:
|
|||||||
|
|
||||||
sudo python install.py --production
|
sudo python install.py --production
|
||||||
|
|
||||||
If you're logged in as root, use --user flag to create a user and install using that user
|
|
||||||
|
|
||||||
sudo python install.py --develop --user frappe
|
|
||||||
|
|
||||||
#### What will this script do?
|
#### What will this script do?
|
||||||
|
|
||||||
- Install all the pre-requisites
|
- Install all the pre-requisites
|
||||||
|
@ -14,4 +14,6 @@
|
|||||||
become_user: root
|
become_user: root
|
||||||
|
|
||||||
- name: make wkhtmltopdf executable
|
- name: make wkhtmltopdf executable
|
||||||
file: path=/usr/local/bin/wkhtmltopdf mode="o+x"
|
file: path=/usr/local/bin/wkhtmltopdf mode="o+x"
|
||||||
|
become: true
|
||||||
|
become_user: root
|
||||||
|
Loading…
x
Reference in New Issue
Block a user