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

114 Commits

Author SHA1 Message Date
Ameya Shenoy
2055616af2
Merge branch 'master' into clean_code 2018-02-22 12:09:48 +05:30
Ameya Shenoy
c06307e50d installs yarn globally (#580) 2018-02-21 16:27:11 +05:30
Ameya Shenoy
ffd75e5158
Playbook restructure part 1 2018-02-15 17:48:17 +05:30
Ameya Shenoy
c7062e1b38
Refactor code
- bumped up ansible from 2.3.1 to 2.4.1
- renamed include to include_tasks since it has been deprecated in
ansible 2.4
2018-02-05 01:50:10 +05:30
Ameya Shenoy
2cd29aca71
Merge pull request #513 from jwrober/jwrober_debian9
Install debian 9 support
2018-01-28 19:46:30 +05:30
Ameya Shenoy
48e30a8e75
reverted ansible to 2.3 from 2.4 2018-01-28 19:44:32 +05:30
Ameya Shenoy
f85cbc87a8 Bench setup failed on production fix (#546)
* Bench setup failed on production fix

- mariadb 10.2 fix
- root user used instead of frappe_user fix

* fix for production on CentOS

- selinux is set to permissive, in case of CentOS. This is needed to setup nginx
- bench is installed in the /home/username directory and not /home/root
2018-01-20 23:57:35 +05:30
Ameya Shenoy
fc65f1d9a0
ubuntu specific changes 2018-01-19 06:23:56 +05:30
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