Commit graph

164 commits

Author SHA1 Message Date
Mendel Greenberg
1be128b1f7
Refractoring, reducing layers 2019-03-01 16:42:26 -05:00
chabad360
6609a8f200
Merge pull request #5 from chabad360/develop
Adds random fixes and improvements from Develop
2019-02-26 00:34:01 -05:00
Mendel Greenberg
545dbaf885
dockerfile refactoring 2019-02-26 00:22:27 -05:00
chabad360
eab03fffd0
Fix merge confilcts 2019-02-26 00:00:50 -05:00
Mendel Greenberg
e13b7121af
some random changes and fixes 2019-02-25 23:42:50 -05:00
Mendel Greenberg
dd8da9a869
Updating dbench in some areas 2019-02-25 23:37:37 -05:00
Mendel Greenberg
98bdef5669
moving some things around 2019-02-25 23:37:35 -05:00
Mendel Greenberg
8493739787
implementing codacy sugestions 2019-02-25 23:37:16 -05:00
Mendel Greenberg
33b8dfea70
some refractoring 2019-02-25 23:36:48 -05:00
chabad360
ea8fa56654
bringing chown in dbench back 2019-02-25 23:36:23 -05:00
chabad360
b68380c520
Updating travis' docker and compose
This is the commit message #3:
2019-02-25 23:36:23 -05:00
Mendel Greenberg
cf3c4dc173
added a .dockerignore and fixed the dockerfile up a bit 2019-02-25 23:36:23 -05:00
Mendel Greenberg
a7f564e222
added the frappe folder again 2019-02-25 23:36:23 -05:00
Mendel Greenberg
a191f74c14
added a .gitignore 2019-02-25 23:36:23 -05:00
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