Commit graph

200 commits

Author SHA1 Message Date
Mendel Greenberg
7da37607d4
some more slight name changes 2019-02-25 23:36:22 -05:00
Mendel Greenberg
1ae03914ab
moving some things around for less lines 2019-02-25 23:36:22 -05:00
Mendel Greenberg
8a4e2d02d4
changed test.py to avoid naming errors 2019-02-25 23:36:22 -05:00
Mendel Greenberg
26eb48b087
Changed the readme significantly
Please enter the commit message for your changes. Lines starting
2019-02-25 23:36:22 -05:00
Mendel Greenberg
802686518c
added a docker down feature to dbench and changed some of the docs 2019-02-25 23:36:22 -05:00
Mendel Greenberg
a8d4fe1bb9
moved redis configuration folder into conf/ 2019-02-25 23:36:22 -05:00
Mendel Greenberg
293229e463
removed adding site names to host (its pointless) 2019-02-25 23:36:21 -05:00
William Moreno
a2e942496e
Clean cache to get a smaller image (#57)
Please include this commit to decrease the size of the docker image, the "rm -rf /var/lib/apt/lists/*" it is not usefull if it is not used in the same stage of the apt-get install RUN, similar with pip cache.

References:
 - https://linux.die.net/man/8/apt-get
 - https://stackoverflow.com/questions/9510474/removing-pips-cache
 - https://semaphoreci.com/blog/2016/12/13/lightweight-docker-images-in-5-steps.html

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file;

(b) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.

Signed-off-by: William Moreno Reyes <williamjmorenor@gmail.com>
2019-02-25 23:36:21 -05:00
chabad360
cc277c00cd
bench setup anything-else should work now 2019-02-25 23:36:21 -05:00
Chinmay Pai
9f34d06a4b
dbench: fix init issues (#55)
./dbench init would lead to 'missing argument: PATH' issue (#54), and could not find Procfile_docker and site-config.

Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
2019-02-25 23:36:21 -05:00
chabad360
36ea7c5d70
changes some of the wording of the help message 2019-02-25 23:36:21 -05:00
chabad360
ac6756c30a
added help to dbench, and updated readme 2019-02-25 23:36:20 -05:00
chabad360
0618f89c5c
Travis! 2019-02-25 23:36:20 -05:00
chabad360
9424efb63e
oops, but only for travis, this runs fine 2019-02-25 23:36:20 -05:00
chabad360
d101c6447b
Oops... 2019-02-25 23:36:18 -05:00
chabad360
f7f108f8f8
fixed travis, and cleaned up dbench a little 2019-02-25 23:36:02 -05:00
chabad360
05fda94220
dockerfile: clean up (#52)
* Condensed Dockerfile

Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
2019-02-25 23:35:51 -05:00
chabad360
aeb741a4a3
Switch bench to dbench, added -s feature of dbench to bench. updated
Docker file with sudo and vim, and setup travis to run with said changes
2019-02-25 23:35:11 -05:00
chabad360
ed7ba75cd0
all installs are in one apt command 2019-02-25 23:35:11 -05:00
chabad360
35ca60899c
Removed MAINTAINER in favor of LABEL 2019-02-25 23:35:11 -05:00
chabad360
b04151ec00
Removed extra line 2019-02-25 23:35:11 -05:00
chabad360
7cc8bc0820
Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
2019-02-25 23:35:10 -05:00
chabad360
309f6810b4
hopefully should fix the args issue 2019-02-25 23:34:59 -05:00
Mendel Greenberg
da76847b93
added a docker down feature to dbench and changed some of the docs 2019-01-18 16:07:18 -05:00
Mendel Greenberg
574349d16c
moved redis configuration folder into conf/ 2019-01-18 16:04:35 -05:00
Mendel Greenberg
ea70e8669b
removed adding site names to host (its pointless) 2019-01-18 16:03:51 -05:00
Mendel Greenberg
9a57bafc3e
Merge remote-tracking branch 'upstream/master' 2019-01-13 14:13:57 -05:00
William Moreno
687ef7cecc Clean cache to get a smaller image (#57)
Please include this commit to decrease the size of the docker image, the "rm -rf /var/lib/apt/lists/*" it is not usefull if it is not used in the same stage of the apt-get install RUN, similar with pip cache.

References:
 - https://linux.die.net/man/8/apt-get
 - https://stackoverflow.com/questions/9510474/removing-pips-cache
 - https://semaphoreci.com/blog/2016/12/13/lightweight-docker-images-in-5-steps.html

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file;

(b) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.

Signed-off-by: William Moreno Reyes <williamjmorenor@gmail.com>
2018-10-22 07:11:59 +00:00
chabad360
86d138e8e3 bench setup anything-else should work now (#56) 2018-10-20 04:54:21 +00:00
chabad360
c79ac28179 bench setup anything-else should work now 2018-10-19 18:51:12 +00:00
Chinmay Pai
6fc3bfbdcf
dbench: fix init issues (#55)
./dbench init would lead to 'missing argument: PATH' issue (#54), and could not find Procfile_docker and site-config.

Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
2018-10-13 17:20:04 +00:00
chabad360
2b1334d5a5 improvements to travis and dbench (#53)
This PR adds the `bench` script, which aims for near parity with frappe bench, it makes setting up far easier, because instead of running `./dbench -c "new-site site1.local"` you only white what you would if bench was installed on the local system (i.e. `./bench new-site site1.local`), it also adds other features as well.
2018-10-13 03:05:29 +00:00
chabad360
e079c479f5 dockerfile: clean up (#52)
* Condensed Dockerfile

Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.

* Removed extra line

* Removed MAINTAINER in favor of LABEL

* all installs are in one apt command
2018-10-05 18:50:10 +00:00
chabad360
81cb5f3e9d auto add permissions 2018-10-05 06:43:25 +00:00
chabad360
93cd0d6ac7 fixes and tests
fixed travis test, and perm issue
2018-10-05 06:43:25 +00:00
chabad360
19021a820b fixed perm issue and added docker control 2018-10-05 04:23:19 +00:00
chabad360
d73397165f testing replacement for dbench 2018-10-05 04:12:53 +00:00
Chinmay Pai
e382d27765
Merge pull request #51 from chabad360/master
Modify volume naming and add database persistince
2018-10-04 10:56:55 +00:00
chabad360
e727e3dc13
Merge pull request #1 from chabad360/develop
Modify volume naming and add database persistince
2018-10-03 18:15:46 -07:00
chabad360
1f8685dce1
Fixed bad volume naming 2018-10-03 17:10:27 -07:00
chabad360
835e5d60b6
Update docker-compose.yml
Added persistence to mariadb, and cleaned it up a bit
2018-10-03 17:05:37 -07:00
chabad360
70a45b2f5d
Update docker-compose.yml 2018-10-03 16:20:05 -07:00
Chinmay Pai
62c15cc2ac
Merge pull request #49 from Thunderbottom/fix-docker
redis: revert mistakes
2018-09-28 14:53:24 +05:30
Chinmay Pai
f96ffe5d70
redis: revert mistakes
Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
2018-09-28 14:45:30 +05:30
Chinmay Pai
88a9e3398c
Merge pull request #48 from Thunderbottom/fix-docker
redis: fix redis
2018-09-28 13:35:10 +05:30
Chinmay Pai
18e09eb3e0
Merge pull request #47 from Thunderbottom/master
travis: replace unexisting command option
2018-09-28 13:34:24 +05:30
Chinmay Pai
732dc1c035
Merge pull request #41 from yeisonvargasf/master
Removed innodb configs because cause error with MariaDB 10.3
2018-09-28 13:34:12 +05:30
Chinmay Pai
62f1129b3f
redis: fix redis
Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
2018-09-28 13:33:14 +05:30
Chinmay Pai
4c3c7fc45c
travis: replace unexisting command option
`--skip-bench-mkdir` does not exist, and it breaks travis

we replace it with `--ignore-exists`

Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
2018-09-27 13:19:47 +05:30
Yeison Vargas
00602940cd Removed innodb configs because cause error with MariaDB 10.3 2018-07-08 18:43:42 -05:00