refactor(frappe-docker): code cleanup and fixes (#63)
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
2019-04-05 19:50:30 +00:00
# Frappe on Docker
2017-07-18 09:26:31 +00:00
refactor: dockerfile
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
* some last bits of refractoring
* some refractoring
* fixed a few issues and did some refractoring
* needed an excuse to get travis to build
* adding in some changes learnt from seibert-media/erpnext-docker
* that should fix that
* where did that "h" come from?
* fix that...
* maybe that
* please work...
* try that for locales
* dont know what that's doing there
* so it didn't work...
* lets try doing locales like this
* forgot the -y...
* trying it this way
* and if we dont remove it?
* what about like this?
* small change
* small change
* I wonder...
* some small refractoring
* saving some time
* bring that back
* fix the smallie
2019-11-02 05:47:38 +00:00
[![Build Status ](https://travis-ci.com/frappe/frappe_docker.svg )](https://travis-ci.com/frappe/frappe_docker)
2017-08-03 10:42:46 +00:00
refactor(frappe-docker): code cleanup and fixes (#63)
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
2019-04-05 19:50:30 +00:00
This is a repo designed to aide setting up frappe/ERPNext on docker.
2017-07-18 09:26:31 +00:00
## Getting Started
refactor(frappe-docker): code cleanup and fixes (#63)
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
2019-04-05 19:50:30 +00:00
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
2017-07-24 10:04:28 +00:00
2020-01-23 07:51:47 +00:00
Unfortunately, this container is not currently suited for a production environment (but we're working towards that goal!).
2017-07-24 09:49:32 +00:00
refactor(frappe-docker): code cleanup and fixes (#63)
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
2019-04-05 19:50:30 +00:00
### Build the container and initialize the bench
2018-10-13 03:05:29 +00:00
refactor(frappe-docker): code cleanup and fixes (#63)
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
2019-04-05 19:50:30 +00:00
**Note:** These instructions assume you have both [Docker ](https://docs.docker.com/engine/installation ) and [Docker Compose ](https://docs.docker.com/compose/install/ ) installed on your system.
2017-09-18 06:14:56 +00:00
refactor(frappe-docker): code cleanup and fixes (#63)
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
2019-04-05 19:50:30 +00:00
1. Clone this repo and change your working directory to it:
2017-08-14 11:46:10 +00:00
refactor(frappe-docker): code cleanup and fixes (#63)
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
2019-04-05 19:50:30 +00:00
```bash
git clone https://github.com/frappe/frappe_docker.git
cd frappe_docker/
```
2017-08-14 11:46:10 +00:00
refactor(frappe-docker): code cleanup and fixes (#63)
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
2019-04-05 19:50:30 +00:00
2. Build and start the container, and initialize the bench:
2017-07-24 10:09:04 +00:00
refactor(frappe-docker): code cleanup and fixes (#63)
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
2019-04-05 19:50:30 +00:00
```bash
./dbench setup docker
./dbench init
```
2017-08-14 11:46:10 +00:00
refactor(frappe-docker): code cleanup and fixes (#63)
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
2019-04-05 19:50:30 +00:00
**Note:** This will take a while, as docker will now build the container.
2017-08-14 11:46:10 +00:00
refactor(frappe-docker): code cleanup and fixes (#63)
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
2019-04-05 19:50:30 +00:00
3. Add a new site and start Frappe:
2017-07-24 09:49:32 +00:00
refactor(frappe-docker): code cleanup and fixes (#63)
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
2019-04-05 19:50:30 +00:00
```bash
./dbench new-site site1.local
./dbench setup hosts
./dbench start
```
2017-07-24 11:11:51 +00:00
refactor: dockerfile
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
* some last bits of refractoring
* some refractoring
* fixed a few issues and did some refractoring
* needed an excuse to get travis to build
* adding in some changes learnt from seibert-media/erpnext-docker
* that should fix that
* where did that "h" come from?
* fix that...
* maybe that
* please work...
* try that for locales
* dont know what that's doing there
* so it didn't work...
* lets try doing locales like this
* forgot the -y...
* trying it this way
* and if we dont remove it?
* what about like this?
* small change
* small change
* I wonder...
* some small refractoring
* saving some time
* bring that back
* fix the smallie
2019-11-02 05:47:38 +00:00
4. Use Frappe:
2020-01-23 07:51:47 +00:00
Open your browser to `localhost:8000/login` . Then log in using the username `Administrator` and the password `admin` .
2017-07-24 09:49:32 +00:00
refactor(frappe-docker): code cleanup and fixes (#63)
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
2019-04-05 19:50:30 +00:00
### Basic Usage of `./dbench`
2017-07-24 10:00:18 +00:00
refactor(frappe-docker): code cleanup and fixes (#63)
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
2019-04-05 19:50:30 +00:00
**IMPORTANT: Always make sure that your current directory is the root directory of the repo (i.e. `frappe_docker/` )**
2017-08-14 11:46:10 +00:00
refactor(frappe-docker): code cleanup and fixes (#63)
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
2019-04-05 19:50:30 +00:00
- `./dbench` : Launches you into an interactive shell in the container as the user `frappe` .
2017-07-24 09:49:32 +00:00
refactor(frappe-docker): code cleanup and fixes (#63)
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
2019-04-05 19:50:30 +00:00
- `./dbench setup docker [ stop | down ]` : Starts and builds the docker containers using `docker-compose up -d` .
- `stop` : Stops the containers with `docker-compose stop` .
2020-01-23 07:51:47 +00:00
- `down` : Deletes the containers and the corresponding volumes with `docker-compose down` .
2017-07-24 10:41:20 +00:00
refactor: dockerfile
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
* some last bits of refractoring
* some refractoring
* fixed a few issues and did some refractoring
* needed an excuse to get travis to build
* adding in some changes learnt from seibert-media/erpnext-docker
* that should fix that
* where did that "h" come from?
* fix that...
* maybe that
* please work...
* try that for locales
* dont know what that's doing there
* so it didn't work...
* lets try doing locales like this
* forgot the -y...
* trying it this way
* and if we dont remove it?
* what about like this?
* small change
* small change
* I wonder...
* some small refractoring
* saving some time
* bring that back
* fix the smallie
2019-11-02 05:47:38 +00:00
- `./dbench setup hosts` : Adds all sites to the containers hosts file.
refactor(frappe-docker): code cleanup and fixes (#63)
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
2019-04-05 19:50:30 +00:00
**Note:** Run this after you've added a new site to avoid errors.
2017-07-24 10:41:20 +00:00
refactor(frappe-docker): code cleanup and fixes (#63)
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
2019-04-05 19:50:30 +00:00
- `./dbench -c frappe | root <command to run>` : Runs a command in the container, as the selected user.
2017-07-24 09:49:32 +00:00
refactor(frappe-docker): code cleanup and fixes (#63)
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
2019-04-05 19:50:30 +00:00
- `./dbench -h` : Shows this help message.
2017-07-24 09:49:32 +00:00
refactor(frappe-docker): code cleanup and fixes (#63)
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
2019-04-05 19:50:30 +00:00
- `./dbench <bench command>` : Runs a command in bench (i.e. Running `./dbench new-site site1.local` , will run `bench new-site site1.local` in the container).
2018-05-04 17:54:30 +00:00
refactor(frappe-docker): code cleanup and fixes (#63)
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
2019-04-05 19:50:30 +00:00
## For More Info
2017-07-18 09:26:31 +00:00
refactor(frappe-docker): code cleanup and fixes (#63)
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
2019-04-05 19:50:30 +00:00
For more info on building this docker container refer to this [Wiki ](https://github.com/frappe/frappe_docker/wiki/Hitchhiker's-guide-to-building-this-frappe_docker-image )
2017-07-18 09:26:31 +00:00
## Contributing
refactor(frappe-docker): code cleanup and fixes (#63)
* testing replacement for dbench
* fixed perm issue and added docker control
* fixes and tests
fixed travis test, and perm issue
* auto add permissions
* bench setup anything-else should work now
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* hopefully should fix the args issue
* 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
* 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
* dockerfile: clean up (#52)
* Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
* fixed travis, and cleaned up dbench a little
* Oops...
* oops, but only for travis, this runs fine
* Travis!
* added help to dbench, and updated readme
* changes some of the wording of the help message
* 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>
* bench setup anything-else should work now
* 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>
* removed adding site names to host (its pointless)
* moved redis configuration folder into conf/
* added a docker down feature to dbench and changed some of the docs
* Changed the readme significantly
Please enter the commit message for your changes. Lines starting
* changed test.py to avoid naming errors
* moving some things around for less lines
* some more slight name changes
* added a .gitignore
* added the frappe folder again
* added a .dockerignore and fixed the dockerfile up a bit
* Updating travis' docker and compose
This is the commit message #3:
* bringing chown in dbench back
* some refractoring
* implementing codacy sugestions
* moving some things around
* Updating dbench in some areas
* some random changes and fixes
* dockerfile refactoring
* Refractoring, reducing layers
* removing the py script that took too many lines to do one simple thing
* Fixed up the readme
* some refractoring
* moving to debian slim and refractoring
* adding some logging
* Updated travis to ubuntu xenial, should fix the curl issue
* manually building curl, cause we cant use the latest version...
* maybe we dont need it
* changing the url to curl
* trying this instead
* lets just let it pollute the stream
* please pollute!
2019-04-05 19:50:30 +00:00
Feel free to contribute to this project and make it better.
2017-07-18 09:26:31 +00:00
## License
This project is licensed under the MIT License - see the [LICENSE.md ](LICENSE.md ) file for details