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

1117 Commits

Author SHA1 Message Date
Elliot Schep
1a230cceb1 Proposed a number in README.md (#371)
Please preview the changes to see a full list.
2017-04-05 12:17:56 +05:30
Faris Ansari
7946d17cc1 less verbose app install (#369) 2017-04-05 12:17:22 +05:30
ckosiegbu
4eef5d1b1a Update pull_all_apps to use regex for check (#373)
pull_all_apps calls a "git status" and checks if the response contains "nothing to commit, working directory clean". However, it seems that at least some versions of git output the message "nothing to commit, working directory clean". This causes bench update to not work in systems where the output message uses "tree" instead of "directory". This update is to allow both strings to be used.
2017-04-05 12:16:58 +05:30
Rushabh Mehta
893b55991b fix message 2017-04-03 13:11:51 +05:30
Rushabh Mehta
4f37c6cf03 [enhance] check for uncommitted code before pulling 2017-04-03 12:56:53 +05:30
Nabin Hait
ae17b6b18d Merge pull request #357 from saurabh6790/shallow_clone
[fix] check shallow clone param in common site config too
2017-02-10 13:21:07 +05:30
Saurabh
44d6e783e6 [fix] check shallow clone param in common site config too 2017-02-02 11:42:39 +05:30
Nabin Hait
2b6715594e Merge pull request #345 from shreyasp/max-redis-mem
[Fix] Max memory given to redis cache should be dependent on virtual of the machine
2016-11-14 17:36:41 +05:30
shreyas
1c5daf646a [Fix] Max memory given to redis cache should be dependent on virtual of the machine 2016-11-14 17:29:42 +05:30
robert schouten
cd877e19cc [feature] add reset option to update (#343)
* [feature] add reset option to update

* fix for restarting update
2016-11-07 17:23:25 +05:30
Valmik
6ad8d9b3f8 Set innodb buffer in production setup (#331) 2016-11-07 17:23:17 +05:30
Nabin Hait
a8312f6cee Merge pull request #330 from vjFaLk/ssh-port
Added command to change SSH port
2016-10-24 12:23:03 +05:30
Valmik Jangla
366d3aa8c5 Fixed incorrect docstring
Changed run_playbook function for consistency with existing code
2016-10-21 03:48:18 -07:00
Valmik Jangla
2e9cfa5d02 Added command to change SSH port 2016-10-19 05:31:42 -07:00
Rushabh Mehta
786b997dc3 [minor] dont show CommandFailedError trace 2016-10-18 17:50:27 +05:30
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
4c30071bcb [fix] readme 2016-10-13 12:58:07 +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
Valmik
1783cbc84f Setup lets-encrypt for custom domains (#301) 2016-10-13 11:48:22 +05:30
Rushabh Mehta
14215b8551 Revert "DNS Multitenancy by default" (#328) 2016-10-08 16:00:19 +05:30
Nabin Hait
015c8d756f Merge pull request #325 from shreyasp/python-ldap-fixes
[Fix] Install Python Ldap dependencies during bench installation
2016-10-06 16:54:13 +05:30
shreyas
4f92aa1026 [Fix] Install Python Ldap dependencies during bench installation 2016-10-06 14:58:31 +05:30
Valmik
888b72ca91 DNS Multitenancy by default (#324)
* dns multitenant by default

* [fix] silly typo
2016-10-06 14:50:46 +05:30
Rushabh Mehta
9fd73a738e [command] bench restart --web 2016-09-30 16:40:34 +05:30
Nabin Hait
f0b67b2ff8 Merge pull request #317 from strixaluco/patch-1
[minor] readme update
2016-09-23 12:18:28 +05:30
strixaluco
7346df59ea [minor] readme update
“with patched Qt" is specified for wkhtmltopdf
2016-09-23 11:09:06 +08:00
Nabin Hait
81dbfa9ff2 Merge pull request #314 from shreyasp/minor-fixes
[Minor] Store mysql and admin passwords in passwords.txt and show success message after completion of the script
2016-09-22 18:03:54 +05:30
Rushabh Mehta
ed846f26f5 fix readme 2016-09-22 16:03:52 +05:30
Rushabh Mehta
1e97d460bc fix readme 2016-09-22 15:58:25 +05:30
Rushabh Mehta
8a853dbc51 Master (#315) (#316)
* 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

* fix readme
2016-09-22 15:56:12 +05:30
Rushabh Mehta
693d06252f fix readme 2016-09-22 15:53:08 +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
b07de2683a [minor] update get languages 2016-08-30 10:16:01 +05:30
Omar Altayyan
317cc26c2c fixed a bug in default port for a site (#300)
* fixed a bug in nginx config

i found a bug when the user of the bench is currently using a dns-multitenant setup and he has multiple sites, and then he decides to switch to multiport setup, then all the sites present on the server get assigned the same port "80" and you can't change the port of any site due to the exception "Port 80 is being used by..." 

so i fixed the bug by assigning a new port number that is not in use to every unassigned site, so afterwards the user can set his own custom port for each site without having to face this exception and failing at this task

* fixed a compile error

that's what knowing too much c-based languages doesn to you

* changed increment method

* added a better description for port conflic 

if you are using port-based multi-tenant setup, i have found that if your ports are set in the site_config.py of your sites, or you set the port manually by using set-nginx-port command, and you have a port conflict between sites, the exception message raised is not be very helpful especially if you have many sites in your setup, so i added a list of ports that are conflicted and at what sites

and the behavior of default port assignment is changed as follows:

at first, the first site created gets port number 80, and every other site will get a new sequential port number, then, if a port is set manually that was assigned automatically, the manually set port number is applied and the old site moves to a new port

but the conflict message only displays if two ports where manually (or in the site_config) assigned to a site, and the message will display the site names

* added a message displaying the current port to site setup

added a new message that displays the mappings between sites and ports if port multi-tenant setup is used

* fixed security error in browsers

some browsers prevent low numbered ports from being used, so instead of continuously assigning ports from 80 onward, we start at 80 and then jump to 8000, and then continue from there

* fixed a problem with start port

apparently setting a site at port 8000 breaks nginx, so i changed it to 8001

* changed naming scheme to snake case
2016-08-29 12:24:05 +05:30
Rushabh Mehta
df600f6458 Merge pull request #309 from webonyx/webonyx_commands
Add git utility commands
2016-08-29 12:20:31 +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
Rushabh Mehta
dba1c4e5e8 Merge pull request #302 from frappe/vjFaLk-patch-1
instructions to install python if not exists
2016-08-29 12:20:07 +05:30
Viet Pham
a6d9d158b4 Add git utility commands 2016-08-28 19:50:48 +07:00
Rushabh Mehta
8b405286fd Merge pull request #308 from mbauskar/master
[minor] minor fix in switch-to-v5 help message
2016-08-26 15:49:20 +05:30
mbauskar
4e75e24c85 [minor] minor fix in switch-to-v5 help message 2016-08-26 15:12:12 +05:30
Rushabh Mehta
86afa275ad Merge pull request #307 from vjFaLk/clone-fix
[fix] install apps using apps.txt ordering
2016-08-23 14:45:59 +05:30
Valmik Jangla
9ee235e509 [fix] install apps using apps.txt ordering 2016-08-23 13:40:34 +05:30
Rushabh Mehta
0c19d012b6 Merge pull request #306 from vjFaLk/inputrc
update inputrc for history
2016-08-22 16:03:26 +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
663ee889ee instructions to install python if not exists 2016-08-12 17:32:16 +05:30
Rushabh Mehta
7f8c66d4bf Merge pull request #298 from shreyasp/bench/restart-web
[Fix] Error
2016-08-10 15:18:20 +05:30