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

206 Commits

Author SHA1 Message Date
Ameya Shenoy
a5de7d4af6
Merge branch 'master' into trav_fix 2018-07-03 14:34:02 +05:30
Ameya Shenoy
b7b03e6ec1
Merge pull request #689 from codingCoffee/node
modify node install
2018-07-03 14:15:50 +05:30
Ameya Shenoy
297f0d4bc5 modified mode install method 2018-07-03 13:31:13 +05:30
Aditya Hase
f90f7e141e Add single quotes around password variables in ansible script
As mentioned in #657 admin and mysql root password with whitespaces
aren't recognized properly by shell adding single quotes around them
fixes this issue.
2018-07-02 16:24:53 +05:30
Ameya Shenoy
b8911fbf18
Merge pull request #674 from codingCoffee/crypto3
cryto
2018-06-09 15:54:10 +05:30
Ameya Shenoy
e61227c973
cryto 2018-06-09 10:23:12 +00:00
Ameya Shenoy
bb2453f7e2
requests urllib3 crypto fixes 2018-06-09 10:13:23 +00:00
Ameya Shenoy
c565269acf
cryptography urllib3 fixes 2018-06-09 10:09:44 +00:00
Ameya Shenoy
2913f6d648
mariadb fixes 2018-06-09 10:01:45 +00:00
Ameya Shenoy
814c4565cb
travis permissions fix 2018-04-27 17:45:22 +05:30
Ameya Shenoy
8cb621cfdd
Merge pull request #638 from codingCoffee/frappe_erp
set repo-url and branch for frappe and erpnext
2018-04-16 19:33:08 +05:30
Ameya Shenoy
4c13cb4289
frooze pip at 9.0.3 2018-04-16 11:22:32 +05:30
Ameya Shenoy
946365196a
set repo-url and branch for frappe and erpnext 2018-04-15 05:00:16 +05:30
Ameya Shenoy
5d7bb5a896
Compatibility fixes for pip 10 2018-04-15 03:23:49 +05:30
Ameya Shenoy
d3cd3abf90
updated readme 2018-04-11 12:47:23 +05:30
Ameya Shenoy
c8c9104ff9
minor 2018-04-10 18:41:30 +05:30
Ameya Shenoy
8a82f98eac
minor fixes 2018-04-10 12:47:45 +05:30
Ameya Shenoy
348e38f37a
changed node version install from 6 to 8
- broken down the node install into multiple parts based on OS
- change the default node version to be installed from 6 to 8
2018-04-09 15:51:11 +05:30
Ameya Shenoy
12f93976d0
Blank password not accepted
Stopped accepting blank passwords for MySQL password and Administrator password
in the install script
2018-04-09 15:50:43 +05:30
Ameya Shenoy
99cf7610c0
increased default max_packet_size to 256M
Increased the max_packet_size for both mysqld and mysqldump to 256M. Change was made to prevent backup/restore failure due to large packet size, which used to showup as tabSingles not found
2018-04-09 15:11:55 +05:30
Ameya Shenoy
bebcd5300e
install prereqs before setup production
- removed locked down version of ansible, downloads latest now
- install ansible and other prereqs before bench setup production
2018-04-09 12:34:39 +05:30
Ameya Shenoy
4061c811d8
Added option to set default site name 2018-04-09 11:53:51 +05:30
Ameya Shenoy
9b24458a96
Set default shell as bash for frappe user
- Commented the reason for using particular version of wkhtmltopdf
- Changes the default shell to bash for frappe user
2018-04-09 11:43:07 +05:30
Ameya Shenoy
e6c1d5a3cc
Merge branch 'master' into vm_build 2018-03-27 19:12:16 +05:30
Ameya Shenoy
d0303a6a84
update ansible version 2018-03-26 19:27:14 +05:30
Ameya Shenoy
f37768cef6
minor fix 2018-03-26 18:26:16 +05:30
Ameya Shenoy
1eed28eade
Handle python3 version for centos 2018-03-26 17:05:47 +05:30
Ameya Shenoy
97d81b0ba4
Install python3.6 in centos 2018-03-26 15:46:05 +05:30
Ameya Shenoy
35f3e88ddf
Merge branch 'master' into vm_build 2018-03-17 18:49:53 +05:30
Ameya Shenoy
ae7c28e9c1
fixes to prevent uncommited files in production 2018-03-08 21:44:12 +05:30
Ameya Shenoy
e59c704229
minor fix 2018-03-08 19:07:57 +05:30
Ameya Shenoy
d17406ce29
path not found fix 2018-03-05 13:17:46 +05:30
Ameya Shenoy
9e28e4cf5b
minor fixes 2018-03-04 06:15:50 +05:30
Ameya Shenoy
30b12a6dd4
VM build fixes
- added bench command to install packer 1.2.1
2018-03-04 02:48:05 +05:30
Ameya Shenoy
fe858bfa36
Fixes for VM builds
- removed the packer binary
- added a bench command to install virtualbox
2018-03-04 01:04:17 +05:30
Ameya Shenoy
a9a327cff9
compatibility with bench setup and install cmds 2018-03-03 12:46:05 +05:30
Ameya Shenoy
ebda0be772
modify 'bench install' to work with new structure 2018-03-03 12:22:01 +05:30
Ameya Shenoy
68b5e1b9ae
develop installs python3 bench 2018-03-01 07:49:41 +05:30
Ameya Shenoy
ee695ff14b
debian and centos fixes 2018-03-01 05:20:58 +05:30
Ameya Shenoy
acbfbbedf6
debian mariadb fix 2018-03-01 04:45:25 +05:30
Ameya Shenoy
1575c307e6
syntactical fix 2018-03-01 04:15:50 +05:30
Ameya Shenoy
93f25d7343
fix for debain and centos 2018-03-01 03:51:48 +05:30
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
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