2
0
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:
Rushabh Mehta 2016-10-13 13:13:43 +05:30
parent 2cdd938d49
commit 3fe7392fa0
2 changed files with 12 additions and 10 deletions

View File

@ -90,21 +90,25 @@ Open your Terminal and enter:
#### 1. Download the install script
# Linux:
For Linux:
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 git
curl "https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py" -o install.py
#### 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
@ -112,10 +116,6 @@ For 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?
- Install all the pre-requisites

View File

@ -15,3 +15,5 @@
- name: make wkhtmltopdf executable
file: path=/usr/local/bin/wkhtmltopdf mode="o+x"
become: true
become_user: root