mirror of
https://github.com/frappe/bench.git
synced 2025-03-21 08:52:22 +00:00
[fix] wkhtmltopdf executable
This commit is contained in:
parent
517a229565
commit
2cdd938d49
@ -12,3 +12,6 @@
|
|||||||
copy: src="/tmp/wkhtmltox/bin/wkhtmltopdf" dest="/usr/local/bin/wkhtmltopdf"
|
copy: src="/tmp/wkhtmltox/bin/wkhtmltopdf" dest="/usr/local/bin/wkhtmltopdf"
|
||||||
become: true
|
become: true
|
||||||
become_user: root
|
become_user: root
|
||||||
|
|
||||||
|
- name: make wkhtmltopdf executable
|
||||||
|
file: path=/usr/local/bin/wkhtmltopdf mode="o+x"
|
@ -245,7 +245,7 @@ def get_passwords(ignore_prompt=False):
|
|||||||
|
|
||||||
# admin password
|
# admin password
|
||||||
if not admin_password:
|
if not admin_password:
|
||||||
admin_password = getpass.unix_getpass(prompt='Please enter Administrator password: ')
|
admin_password = getpass.unix_getpass(prompt='Please enter the default Administrator user password: ')
|
||||||
conf_admin_passswd = getpass.unix_getpass(prompt='Re-enter Administrator password: ')
|
conf_admin_passswd = getpass.unix_getpass(prompt='Re-enter Administrator password: ')
|
||||||
|
|
||||||
if admin_password != conf_admin_passswd:
|
if admin_password != conf_admin_passswd:
|
||||||
@ -266,6 +266,8 @@ def get_passwords(ignore_prompt=False):
|
|||||||
with open(passwords_file_path, 'w') as f:
|
with open(passwords_file_path, 'w') as f:
|
||||||
json.dump(passwords, f, indent=1)
|
json.dump(passwords, f, indent=1)
|
||||||
|
|
||||||
|
print 'Passwords saved at ~/passwords.txt'
|
||||||
|
|
||||||
return passwords
|
return passwords
|
||||||
|
|
||||||
def get_extra_vars_json(extra_args):
|
def get_extra_vars_json(extra_args):
|
||||||
@ -348,9 +350,4 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
install_bench(args)
|
install_bench(args)
|
||||||
|
|
||||||
print '''
|
print '''Frappe/ERPNext has been successfully installed!'''
|
||||||
Frappe/ERPNext has been successfully installed on your machine.
|
|
||||||
|
|
||||||
Please find mysql root password and admin password in "passwords.txt" in your root directory,
|
|
||||||
you can remove the file after making note of the passwords.
|
|
||||||
'''
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user