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
517a229565
commit
2cdd938d49
@ -12,3 +12,6 @@
|
||||
copy: src="/tmp/wkhtmltox/bin/wkhtmltopdf" dest="/usr/local/bin/wkhtmltopdf"
|
||||
become: true
|
||||
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
|
||||
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: ')
|
||||
|
||||
if admin_password != conf_admin_passswd:
|
||||
@ -266,6 +266,8 @@ def get_passwords(ignore_prompt=False):
|
||||
with open(passwords_file_path, 'w') as f:
|
||||
json.dump(passwords, f, indent=1)
|
||||
|
||||
print 'Passwords saved at ~/passwords.txt'
|
||||
|
||||
return passwords
|
||||
|
||||
def get_extra_vars_json(extra_args):
|
||||
@ -348,9 +350,4 @@ if __name__ == '__main__':
|
||||
|
||||
install_bench(args)
|
||||
|
||||
print '''
|
||||
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.
|
||||
'''
|
||||
print '''Frappe/ERPNext has been successfully installed!'''
|
||||
|
Loading…
x
Reference in New Issue
Block a user