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

1446 Commits

Author SHA1 Message Date
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
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