Hi Tonio -

Not sure why you are seeing this. A couple of questions: are you able to
build Fineract locally (using ./gradlew clean war)? What versions of docker
and docker-compose do you have installed? I just built again from scratch
on my environment using Docker version 18.09 and docker-compose version
1.23.2.

Steve


On Sun, Jun 30, 2019 at 6:15 PM Tonio O <[email protected]> wrote:

> I get the following exception when using the docker-compose build option:
>
> FAILURE: Build failed with an exception.
>
> * Where:
> Script '/fineract/fineract-provider/dependencies.gradle' line: 30
>
> * What went wrong:
> A problem occurred evaluating script.
> > Could not find method providedCompile() for arguments [] on object of
> type
> org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
>
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or
> --debug option to get more log output. Run with --scan to get full insights.
>
> Steve: Do you have an idea why this is happening
>
>
> On Thu, Jun 20, 2019 at 8: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
>>
>>

Reply via email to