2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-23 04:29:02 +00:00
Commit Graph

92 Commits

Author SHA1 Message Date
Saurabh
e821ba5e3b [fix] install ansible 2.3.1 2017-10-10 12:41:12 +05:30
Saurabh
a549853b9e [fix] consider without_bench_setup flag while setting up dev env 2017-10-02 17:20:55 +05:30
Saurabh
56b01b7b65 [fix] sudoer permissions 2017-10-02 14:12:03 +05:30
Saurabh
e005e618f4 [fix] conditional variable fix 2017-09-18 16:44:59 +05:30
Saurabh
af16ee3eec [fix] add commands to sudoer 2017-09-18 16:07:25 +05:30
Saurabh
ffd6ad7c12 [fix] setup firewall and change ssh port via bench 2017-09-08 20:40:16 +05:30
Saurabh
57499b8500 check mysql root password 2017-09-07 17:41:39 +05:30
Saurabh
b9f096bd3e Support for mariadb debian 9 and above 2017-09-05 22:04:59 +05:30
Saurabh
e2c24d8c0e [fix] package fixes for debian 8 2017-09-05 14:43:41 +05:30
Saurabh
c8d8c2b6a2 commands to setup pre-requisites and roles 2017-09-04 18:50:48 +05:30
Saurabh
f5730b0828 [fix] seperate out roles from dev and prod installation 2017-09-04 18:47:42 +05:30
Saurabh
a2e779ccb3 add tags to roles 2017-09-04 18:47:41 +05:30
Saurabh
f13dcbd958 remove distribution specific files 2017-09-04 18:47:41 +05:30
Saurabh
22a826bbde comnify distribution wise setup and install prerequisites separately 2017-09-04 18:46:22 +05:30
Saurabh
2525503429 [fix] setup logwatch for debian and ubuntu 2017-09-04 18:46:22 +05:30
Saurabh
2e6ca1613d roles to setup production environment 2017-09-04 18:46:22 +05:30
Saurabh
e360b0702a [fix] provision to specify bench name explicitly 2017-09-04 18:46:21 +05:30
Saurabh
ead5dbf9a6 define vars for setting up bench and dev env 2017-09-04 18:46:21 +05:30
Saurabh
00a492f538 add mariadb config file 2017-09-04 18:46:21 +05:30
Saurabh
8139bccb0e add name to task and fix typo for role 2017-09-04 18:46:21 +05:30
Saurabh
a07c71654b create roles to install pre-requisites 2017-09-04 18:44:23 +05:30
Rishabh Nambiar
7a7c61105c Add default ERPNext installation to Easy Install script (develop) (#473)
* Added ERPNext to Easy Install

* fix site_name issue

* fix site_name issue

* uncomment

* fix -ask password

* Added ERPNext install to centos, debian, macosx

* Set site1.local as default sitename

* Update README.md

* Restrict ERPNext installation for production

* Added checks for existing sites and apps

* Included setup_erpnext.yml in setup_dev_env.yml

* Fixed erpnext ImportError issue with bench new-site command.
2017-09-01 16:36:21 +05:30
Rushabh Mehta
aea6bf5e4b Develop (#463)
* Add arguments for mysql_root_password and admin_password
Consider existing passwords.txt

* Remove duplicated --overwrite after rebase

* python 3 compatible changes for `update_npm_packages` (#434)

* Fix travis (#446)

* python 3 compatible changes for `update_npm_packages`

* install urllib3 pyOpenSSL ndg-httpsclient pyasn1 to fix wkhtmltopdf download failure on Travis

* use latest version of ansible

* test should look for mysqlclient-1.3.10 not mysqlclient-1.3.8

* `exec_cmd` causes TypeError on Python 3 (#451) (#452)

* python 3 compatible changes for `update_npm_packages`

* add universal_newlines=True to Popen

* Added docker specific changes to bench (#460)

* Added skip_bench_mkdir flag

* added skip_bench_mkdir and skip_redis_config_generation

* Removed the brackets around not in the utils.py/redis.generate_config()

* Replace lines 56-61 in utils.py since the tests failed.

* Reinstated lines 56-61

* printing the dirname

* Removed the rogue break

* Update utils.py
2017-08-03 16:33:57 +05:30
Makarand Bauskar
e968df3e39 [hotfix] get wkhtmltopdf from frappe/wkhtmltopdf repo, setup npm dependencies in bench init (#428) 2017-06-09 15:28:04 +05:30
Sagar Vora
31fb1d3da5 Merge pull request #414 from jevonearth/fix-wkhtolto-pdf-url
Use downloads.wkhtmltopdf.org instead of gna.org
2017-05-25 11:32:46 +05:30
jevonearth
3a4da6b47e Use downloads.wkhtmltopdf.org instead of gna.org
gna.org is supposedly shutting down, and was unavailable for most of
today.
2017-05-24 10:47:15 -07:00
Revant Nandgaonkar
1aeb5078cc Merge pull request #398 from DRogue1337/develop
Add '--overwrite' flag to 'bench init' #396
2017-05-24 16:59:58 +05:30
Rushabh Mehta
b5a029033d Develop (#411)
* [fix] readme

* Removed swtich-to-v4 and switch-to-v5 commands

* consider passwords.txt (#408)

* Fixes bench release github username error (#406)

* ran 2to3 script

* Correct urllib.parse import

* Backward compatible urllib import

* removed test_setup_production_v6

* Fix bug global hashlib is not defined (#399)

* Don't need $query_string (#390)

* removed semicolon, click.prompt adds it

* Letsencrypt fix develop (#407)

* [Fix] Letsencrypt error - Please specify user or filename to write.

* Fix bug global hashlib is not defined (#399)

* Don't need $query_string (#390)

* [Fix] Issue #404 - write to system cron

* letsencrypt.py - renamed user_crontab to system_crontab

* Npm dependency management using package.json (#409)

* Fix bug global hashlib is not defined (#399)

* Don't need $query_string (#390)

* Develop (#400)

* [fix] readme

* Removed swtich-to-v4 and switch-to-v5 commands

* Add "bench setup babel" command

* Add "less" package

* Npm dependency management using package.json

* Add default package.json
2017-05-23 11:14:16 +05:30
Faris Ansari
b1e598f528 Npm dependency management using package.json (#409)
* Fix bug global hashlib is not defined (#399)

* Don't need $query_string (#390)

* Develop (#400)

* [fix] readme

* Removed swtich-to-v4 and switch-to-v5 commands

* Add "bench setup babel" command

* Add "less" package

* Npm dependency management using package.json

* Add default package.json
2017-05-23 11:12:18 +05:30
Daniel Weipert
6d2afdd9ec Add overwrite help message 2017-05-16 11:54:52 +02:00
Daniel Weipert
b38ba7f7b5 Remove bench dir for new install 2017-05-16 11:54:52 +02:00
Daniel Weipert
c21554519f Set directory permissions recursively 2017-05-16 11:54:52 +02:00
Daniel Weipert
a04f45b0d9 Add --overwrite argument 2017-05-16 11:54:52 +02:00
Revant Nandgaonkar
080ca173a6 ran 2to3 script (#381)
* ran 2to3 script

* Correct urllib.parse import

* Backward compatible urllib import

* removed test_setup_production_v6
2017-04-17 17:28:18 +05:30
Valmik
6ad8d9b3f8 Set innodb buffer in production setup (#331) 2016-11-07 17:23:17 +05:30
Valmik Jangla
2e9cfa5d02 Added command to change SSH port 2016-10-19 05:31:42 -07:00
Rushabh Mehta
3fe7392fa0 [fix] wkhtmltopdf executable 2016-10-13 13:13:43 +05:30
Rushabh Mehta
2cdd938d49 [fix] wkhtmltopdf executable 2016-10-13 13:08:12 +05:30
Rushabh Mehta
517a229565 [update] wkhtmltopdf 0.12.3 (#329)
* [update] wkhtmltopdf 0.12.3

* [minor] fix path

* [fix] make folder before move

* [path] try file copy

* [path] try file copy

* [copy] use sudo

* [copy] become root
2016-10-13 11:49:56 +05:30
Valmik
97d44518d3 Added command to setup firewall (#326)
* Added command to setup firewall

* Added validation to check for ansible, added ufw for ubuntu and debian
2016-10-13 11:49:27 +05:30
shreyas
4f92aa1026 [Fix] Install Python Ldap dependencies during bench installation 2016-10-06 14:58:31 +05:30
shreyas
6b5404e9c6 [Minor] Store mysql and admin passwords in passwords.txt and Show success message after completion of the script 2016-09-22 15:39:42 +05:30
Shreyas Patil
164bc13c95 Fix nodejs (#310)
* [Fix] Do not validate certificates while downloading node bash script

* [Fix] New nodejs installation procedure

* [Fix] Updated message for node update to use official node package manager scripts

* [Fix] Add travis build status to repo page
2016-09-12 11:19:34 +05:30
Rushabh Mehta
674373d2c4 Merge pull request #304 from mrmoje/master
Ignore set root pass error if root password is already set
2016-08-29 12:20:17 +05:30
Valmik Jangla
ff6115e988 update inputrc for history 2016-08-22 16:02:16 +05:30
James Nzomo
a694c9403a Ignore error if root password is already set
See https://github.com/frappe/bench/issues/285#issuecomment-239983969
Also disable exe bit on `setup_mariadb.yml`
2016-08-16 05:25:32 +03:00
Valmik Jangla
5193523727 [fix] install libselinux-python in the case of centos 7 minimal 2016-08-04 22:28:18 -07:00
Valmik Jangla
d23d7489d7 Added macos support for version check 2016-08-03 01:29:34 -07:00
Valmik Jangla
9811ad24d2 Fixed Debian 7, added version check 2016-08-03 00:24:24 -07:00
Valmik Jangla
5871354e16 changed method to set mysql root password 2016-08-03 00:24:24 -07:00