2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 15:51:03 +00:00
Commit Graph

101 Commits

Author SHA1 Message Date
Ameya Shenoy
ac6e5a3a2f
working on ubuntu 2018-01-18 14:29:46 +05:30
Ameya Shenoy
97a05fdddf
user mismatch fix
- user root was selected in "move /tmp/.bench if it exists", changed it to frappe
2018-01-18 03:30:42 +05:30
Ameya Shenoy
036b4e4b33
Fixed playbook to be compatible with Mariadb 10.2
- linked mysql.sock file mysql.pid file for compatibility with MaraiDB 10.2
2018-01-18 03:10:26 +05:30
Ameya Shenoy
ff3ae9158d
debian mariadb fix 2018-01-10 03:43:51 +05:30
Ameya Shenoy
9e1bf8fc98
ubuntu mariadb fix 2018-01-10 03:24:55 +05:30
James Robertson
56e2f75599 MariaDB 10.2 (#510)
MariaDB 10.2 Support
2018-01-09 11:08:18 +05:30
Saurabh
18ded16b52 [fix] provision to setup maxretry, bantime and findtime explicitly for fail2ban 2017-11-22 16:16:02 +05:30
Saurabh
2fa3b213f1 [fix] setup firewall 2017-10-10 14:06:38 +05:30
Saurabh
0233a4170e [fix] install supervisor via role 2017-10-10 13:16:46 +05:30
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