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

886 Commits

Author SHA1 Message Date
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
shreyas
92c097951f [Fix] Error 2016-08-10 15:15:27 +05:30
Rushabh Mehta
e8d3c9d72b Merge pull request #297 from shreyasp/bench/restart-web
[Minor] Added command to restart only web workers in supervisor
2016-08-10 15:09:35 +05:30
shreyas
90ea181c78 [Minor] Added command to restart on web workers for supervisor bench restart --web-workers 2016-08-10 15:06:13 +05:30
Rushabh Mehta
b34b1e1d27 Merge pull request #294 from frappe/develop
[feature] clone bench from existing bench by copying the git repo
2016-08-08 15:41:12 +05:30
Rushabh Mehta
35cc6f608e [feature] clone bench from existing bench by copying the git repo 2016-08-08 14:59:58 +05:30
Rushabh Mehta
1df689a488 Merge pull request #293 from neilLasrado/patch-fix
Fixed node  patch
2016-08-08 13:56:12 +05:30
Neil Trini Lasrado
7c13d16a62 Fixed patch 2016-08-08 13:48:27 +05:30
Rushabh Mehta
98ab39637f Merge pull request #290 from vjFaLk/centos-fix
[fix] install libselinux-python in the case of centos 7 minimal
2016-08-05 14:07:21 +05:30
Valmik Jangla
5193523727 [fix] install libselinux-python in the case of centos 7 minimal 2016-08-04 22:28:18 -07:00
Rushabh Mehta
73f74bd9bd Merge pull request #287 from shreyasp/bench/rate_limit_conn
[Fix] Add 'allow_rate_limiting' as common_site_config to generate nginx config as per requirement
2016-08-04 11:06:46 +05:30
Rushabh Mehta
5b37907ab6 Merge pull request #288 from vjFaLk/patch-8
[fix] update readme for debian support
2016-08-03 18:15:45 +05:30
Valmik
cd42449f42 [fix] update readme for debian support 2016-08-03 17:00:52 +05:30
Rushabh Mehta
26cac7173b Merge pull request #279 from vjFaLk/debian-installer
Debian installer support
2016-08-03 15:35:38 +05:30
shreyas
4e45c7b34b [Fix] Add 'allow_rate_limiting' as common_site_config to generate nginx config as per requirement 2016-08-03 14:54:45 +05:30
Valmik Jangla
d23d7489d7 Added macos support for version check 2016-08-03 01:29:34 -07:00
Rushabh Mehta
6bbf7c9ed1 [minor] set version 2016-08-03 12:56:35 +05:30
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
ba772ae51c Merge pull request #284 from vjFaLk/update-bench-req
Update bench requirements when updating as well
2016-08-02 15:24:41 +05:30
Valmik Jangla
13f6a57ce9 Update bench requirements when updating as well 2016-08-02 15:21:51 +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
Rushabh Mehta
2a93a6d6cb Merge pull request #282 from shreyasp/fix/travis
[Fix] Fixes to replace new installer in erpnext and frappe travis.yml
2016-08-01 16:54:08 +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
Rushabh Mehta
6878440e6b Merge pull request #281 from vjFaLk/cron-fi
[fix] crontab entry for lets-encrypt
2016-08-01 10:29:39 +05:30
Valmik Jangla
03f6f3ff03 [fix] crontab entry for lets-encrypt 2016-07-30 14:30:22 -07:00
shreyas
0c95b6a564 [Fix] Travis CI failure fixes 2016-07-29 11:54:46 +05:30
shreyas
f9067f3d7a [Minor] Add rate limiting for bench 2016-07-28 17:55:08 +05:30
shreyas
20c24a3923 [Minor] Add limit_conn_zone to bench nginx config 2016-07-28 14:59:53 +05:30