2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-24 13:09:01 +00:00
Commit Graph

206 Commits

Author SHA1 Message Date
Ameya Shenoy
8e1a73ffb2
create new file to deal with mariadbwq 2018-01-19 05:36:57 +05:30
Ameya Shenoy
73f89683ef
removed linked, modified mariadb.cnf file 2018-01-19 03:15:47 +05:30
Ameya Shenoy
abf481e595
fix for cent_os
ansible_user_id used to give 'root' if the easy isntall script was executed by root on centOS, but it used to give 'frappe' if on Ubuntu, hence changed ansible_user_id to frappe_user
2018-01-18 17:25:16 +05:30
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
James Robertson
1769ee0f18 support for debian 9
support for debian 9
2017-11-30 08:35:19 -06:00
James Robertson
60b417c9e3 Ansible 2.4.1
Ansible 2.4.1
2017-11-29 12:39:28 -06:00
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
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
Valmik Jangla
7ccba5a4e3 Added support for Debian 2016-08-03 00:24:24 -07:00
Rushabh Mehta
42973769f3 [nodejs] move to 6.x 2016-08-03 12:52:20 +05:30
Rushabh Mehta
1c4385bf9b Merge pull request #278 from shreyasp/bench/rate_limit_conn
[Minor] Nginx rate limiting and Improvements to Bench Installer
2016-08-01 16:55:44 +05:30
shreyas
d8215c6f1d [Fix] Fixes to replace new installer in erpnext and frappe travis.yml 2016-08-01 16:24:56 +05:30
Rushabh Mehta
94d27493d2 [minor] fixes for travis 2016-08-01 11:14:18 +05:30
shreyas
20c24a3923 [Minor] Add limit_conn_zone to bench nginx config 2016-07-28 14:59:53 +05:30
shreyas
87414d218b [Fix] Add curl and wget to bench installer. Node v5 installer fixes 2016-07-26 13:37:06 +05:30
shreyas
be1f23a602 [Fix] Updated ansible to install node 5 using install script 2016-07-25 16:26:30 +05:30
Valmik Jangla
a28f8c8d4e [fix] branch for bench-repo 2016-07-24 03:09:37 -07:00
Anand Doshi
47a65b9411 [fix] [test] supervisor restart 2016-07-14 17:10:37 +05:30
Anand Doshi
fc2dbb976c [fix] installer - sudo user 2016-06-30 16:41:03 +05:30
Anand Doshi
15492630af [fix] installer - ask password 2016-06-28 15:06:12 +05:30
Anand Doshi
68564849e6 [fix] installer and travis 2016-06-28 13:22:58 +05:30
Valmik Jangla
4848cddd51 [fix] fixed setuptools for ubuntu 2016-06-28 11:26:10 +05:30
shreyas
3a0405bb54 [Fix] Bypassed get_passwords for development env, and extra_vars.json to be created in tmp directory 2016-06-09 12:52:02 +05:30
shreyas
bf56902cd7 [Fix] Ansible installer fails to install wkhtmltopdf with newer ansible version 2016-05-27 15:45:08 +05:30
Anand Doshi
c8989775ad [fix] mariadb max packet size 2016-05-26 13:27:26 +05:30
Anand Doshi
f62eb6c6d5 [fix] create user in installer 2016-05-25 18:01:36 +05:30
Anand Doshi
efb31eab04 [fix] [new installer] bench branch to frappe/bench and branch as develop 2016-05-25 15:08:36 +05:30
shreyas
83adbd824d [Fix] Added seperate ansible script for setting up development environment 2016-05-23 17:03:10 +05:30
shreyas
0e754c53ab [Testing] Branch for testing purpose 2016-05-23 15:51:29 +05:30
shreyas
18f291ae21 [Fix] Moved nginx and frappe_selinux templates to production 2016-05-23 15:50:57 +05:30
shreyas
3939787243 [Fix] Moved all production scripts under production folder 2016-05-18 18:53:01 +05:30
shreyas
d8183de9b3 [Fix] Added new folder named production and moved production ansible script 2016-05-18 18:40:46 +05:30
shreyas
6b3ef05d97 [Major] Migrating setup_frappe script from bash to ansible 2016-05-18 18:27:40 +05:30
Anand Doshi
10b86c94fa [fix] use develop branch for bench 2016-04-13 21:21:41 +05:30
Anand Doshi
70e55e69ae [fix] macosx create launch agents folder 2016-04-06 16:27:24 +05:30
Anand Doshi
262d05e4d8 [fix] use master branch in install.py 2016-04-06 16:05:51 +05:30
Anand Doshi
b3071162c8 [fix] release + mariadb restart for mac 2016-04-06 15:59:52 +05:30
Anand Doshi
bba5b46112 Set version as 2.0.0 and split cli.py into multiple files 2016-03-22 13:14:31 +05:30
Anand Doshi
124abbd725 [centos] install.py 2016-03-18 15:43:07 +05:30
Anand Doshi
141867bc8d [playbook] centos.yml 2016-03-18 15:40:57 +05:30
Anand Doshi
4f1c5492c3 [fix] [playbook] ubuntu 15.04 dev setup ready 2016-03-17 16:17:48 +05:30
Anand Doshi
6b6de9d2d0 [fix] [playbook] ubuntu dev setup ready 2016-03-17 15:20:21 +05:30
Anand Doshi
74821ae13f [fix] [playbook] ubuntu installer 2016-03-17 12:59:53 +05:30
Anand Doshi
468d2251e8 [playbooks] ubuntu installer for develop 2016-03-16 15:24:19 +05:30
Rushabh Mehta
1806d31960 [cleanup] playbooks for develop 2016-03-16 14:41:55 +05:30
Rushabh Mehta
13b4825fb6 [fix] shallow clone 2016-03-16 13:03:09 +05:30
Rushabh Mehta
e426c00e3a cleanup 2016-03-15 18:11:08 +05:30
Rushabh Mehta
b5653eced1 [fix] macos install works 2016-03-15 12:30:55 +05:30
Rushabh Mehta
f1be9f0eed [fix] playbooks path 2016-03-15 12:30:02 +05:30
Rushabh Mehta
0a80d0dfcf added playbooks 2016-03-15 12:24:17 +05:30