Thanks Michael - I appreciate your feedback. I was jumping through some hoops because the Dockerfile was in a subdirectory. I will move it up to the root of the project - and that will clean up the 2 separate paths (clean install vs developer workspace) into one path.
I think I will also do a 'sed' on the build.gradle rather than keeping a separate version. Will send an update once I have made those changes. Thanks, Steve On Thu, Jun 20, 2019 at 1:28 PM Michael Vorburger <[email protected]> wrote: > Cool!! I just reviewed https://github.com/apache/fineract/pull/593 and > provided some feedback. > > > On Thu, Jun 20, 2019 at 4:57 PM Ed Cable <[email protected]> wrote: > >> Thanks Steve. >> >> I will also make this available with the Azure ARM template that Vishwas >> created for Fineract for the LCUC Hackathon. >> >> Ed >> >> On Thu, Jun 20, 2019 at 9:46 AM Steve Conrad <[email protected]> wrote: >> >>> Hi Devs - >>> >>> I have been working on a 'one-touch' deploy process for Fineract using >>> Docker and docker-compose. I just submitted a PR with this new >>> functionality. It allows you to easily create a brand new Fineract instance >>> on your local machine. You can also use it to run your development >>> environment in docker. There is a README with instructions, which I will >>> also post here. If you have any questions, please let me know. >>> >>> Thanks, >>> Steve >>> >>> Prerequisites >>> >>> - docker and docker-compose installed on your machine >>> >>> >>> <https://github.com/conradsp/fineract/tree/Dockerize/docker#installing-a-new-fineract-instance>Installing >>> a new Fineract instance >>> >>> - Clone the Fineract Github repository >>> - Navigate to the docker directory >>> - Run the following commands: >>> - docker-compose build >>> - docker-compose up -d >>> - Fineract will run at https://localhost:8443/fineract-provider >>> >>> >>> <https://github.com/conradsp/fineract/tree/Dockerize/docker#using-docker-compose-for-development>Using >>> docker-compose for development >>> >>> - Copy Dockerfile, docker-compose.yml, and the initdb directory to >>> the root of your project (/fineract) >>> - Edit Dockerfile in /fineract - comment out the 2 lines (RUN git >>> clone and COPY build.gradle) >>> - Uncomment the 2 lines in Dockerfile (RUN mkdir fineract, COPY . >>> fineract) >>> - Update your local copy of build.gradle and replace all references >>> to localhost with fineractmysql >>> >>> >> >> -- >> *Ed Cable* >> President/CEO, Mifos Initiative >> [email protected] | Skype: edcable | Mobile: +1.484.477.8649 >> >> *Collectively Creating a World of 3 Billion Maries | *http://mifos.org >> <http://facebook.com/mifos> <http://www.twitter.com/mifos> >> >>
