Giter Club home page Giter Club logo

Comments (5)

madmath03 avatar madmath03 commented on May 24, 2024 1

Hi,

The installation is actually pretty straightforward : select the version you want in the images folder, run the docker-compose with docker-compose up -d and that's it.

You should take a look at the Travis CI test suite https://github.com/Monogramm/docker-erpnext/blob/master/.travis.yml : the automated tests do not only check that the Docker image builds properly, it also check that it runs.
You can look at the Travis CI runs and logs (link at the top of the README) to see the installation sequence.

Let me know if you have another issue or if I misunderstood your point.

from docker-erpnext.

madmath03 avatar madmath03 commented on May 24, 2024 1

I see that you are using Alpine variant.
Alpine is great for its improved security and performance (smaller image) but building containers for alpine almost always takes more time, and ERPNext is extremely slow to retrieve on Alpine : if you look at Travis CI build results, it takes 28 minutes to get ERPNext on Alpine, while it takes only 2 minutes on Debian... and I have no idea why it's so slow 😅

If you're fine with using the default content of our images (ie. no need to add any apps), I suggest you update the docker-compose to use our prebuilt images from DockerHub:

  • replace every occurrence of build: ./ with image: monogramm/docker-erpnext:11-alpine
  • run the docker-compose with docker-compose up -d

I will probably update the docker-compose, add some comments, to help use prebuilt images.

from docker-erpnext.

clefavelli avatar clefavelli commented on May 24, 2024

Hi,

The installation is actually pretty straightforward : select the version you want in the images folder, run the docker-compose with docker-compose up -d and that's it.

You should take a look at the Travis CI test suite https://github.com/Monogramm/docker-erpnext/blob/master/.travis.yml : the automated tests do not only check that the Docker image builds properly, it also check that it runs.
You can look at the Travis CI runs and logs (link at the top of the README) to see the installation sequence.

Let me know if you have another issue or if I misunderstood your point.

Hi, mine freezes here :

_Building erpnext_app
Step 1/5 : FROM monogramm/docker-frappe:11-alpine
---> 919653b56cb1
Step 2/5 : LABEL maintainer "Monogramm Maintainers "
---> Using cache
---> 94a1b2672180
Step 3/5 : ENV ERPNEXT_BRANCH v11.1.46
---> Using cache
---> 7724a4539d36
Step 4/5 : RUN set -ex; bench get-app --branch $ERPNEXT_BRANCH erpnext https://github.com/frappe/erpnext; sudo ./env/bin/pip3 install ldap3 ;
---> Running in 5fc8a0f56fb8

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b

Checking out files: 100% (5276/5276), done.
INFO:bench.app:installing erpnext
INFO:bench.utils:./env/bin/pip install -q -e ./apps/erpnext_

Am installing on a digital ocean centos7 environment.

from docker-erpnext.

clefavelli avatar clefavelli commented on May 24, 2024

Okay I have managed to run the 11.1 version using docker-compose up -d

Running docker ps i get the following :
[root@prenus alpine]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
73cb113dfe34 redis:alpine "docker-entrypoint..." 27 seconds ago Up 23 seconds 6379/tcp erpnext_redis_queue
af05875228c2 redis:alpine "docker-entrypoint..." 27 seconds ago Up 24 seconds 6379/tcp erpnext_redis_socketio

Am looking for the running app and perhaps an image with open ports to point my browser to but only the redis containers are running. Where is the erpnext app?

from docker-erpnext.

madmath03 avatar madmath03 commented on May 24, 2024

You should use docker-compose ps instead to get the status of all the containers listed in your docker-compose.
If you only see the redis containers, it means the others crashed and you need to find out why.

Once you have found the reason of the crash and fixed it, there is a nginx container exposing ERPNext at http://localhost:80.

I added comments and simple doc in README about this so closing this issue.

from docker-erpnext.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.