LedgerSMB
The foundation for your business
Fork me on GitHub
Re: [ledgersmb-users] Fwd: https://github.com/ledgersmb/ledgersmb-dev-docker instructions about LedgerSMB Git repository
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ledgersmb-users] Fwd: https://github.com/ledgersmb/ledgersmb-dev-docker instructions about LedgerSMB Git repository



Hi Larry,

Sorry for the late reaction. It's holiday season in the Netherlands and I've been enjoying mine. Marked your mail for follow-up, but completely forgot about it after that. Here's your answer finally.

On Fri, Aug 3, 2018 at 7:27 PM, Larry Evans <..hidden..> wrote:
So, does that mean when I do:

   git clone https://github.com/ledgersmb/LedgerSMB.git

it should be within the directory produced when I do:

   git clone https://github.com/ledgersmb/ledgersmb-dev-docker.git

?

TIA.

-regards,
Larry


In private emails, Erik Huelsmann was kind enough to find a solution:

  $ git clone https://github.com/ledgersmb/LedgerSMB.git
  $ git clone https://github.com/ledgersmb/ledgersmb-dev-docker.git
  $ cd LedgerSMB
  $ ../ledgersmb-dev-docker/lsmb-dev master up -d

However, that failed because my lsmb-dev calls docker-compose and
the docker-compose I'd installed with synaptic wasn't compatible with
the ledgersmb-dev-docker/docker-compose.yml file which I'd just cloned.
So, downloaded the latest docker-compose as instructed here:

https://github.com/docker/compose/releases

and tried again.  This time it seemed to work because there was a *lot*
of downloads and no error msgs and shown in the attached.

Hat's off to Eric!

Unfortunately, the odyssey doesn't end there.
As suggested by the output on attachement, put url:

http://172.18.0.5:5762

in my firefox browser.  This produce a window with a nice
LedgerSMB graphic, but with the text (centered):

  If this text is showing, there's most likely
  a problem with


The text got wrapped. It should have read "... a problem with your installed Dojo setup"
 
searching for this text in source, found it in:

  LedgerSMB/UI/login.html

as follows:

              <img
                 style="display: block; margin: auto auto; font-family: "
                 src="">s/loadingAnimation.gif"
                 alt="If this text is showing, there's most likely a problem with the Dojo setup"
                 title="Loading ..."
                 width="20"
                 height="20" />

further exploration lead me to follow instructions in:

  LedgerSMB/UI/js-src/README.md

IOW, I did some more git calls; however, that still didn't produce the
js directory; hence, I just modified the login.html to reference the
js-src instead of the js directory.  When I refreshed firefox, the
error msg had disappeared, but there were not buttons or fields
on the page.  Only the nice LedgerSMB graphic.

Is that expected?

I'm afraid that's to be expected indeed. There should have been documentation, probably, which told you copy examples/conf/ledgersmb.conf.default to the project's root directory and change row "# dojo_built = 1" to "dojo_built = 0" (that is: remove the leading "# " and change the "1" to "0").

That way, the UI/js-src/ directory gets mapped to the /js/ directory in the URL space.


Hope that helps!

Regards,

--
Bye,

Erik.

http://efficito.com -- Hosted accounting and ERP.
Robust and Flexible. No vendor lock-in.
_______________________________________________
users mailing list
..hidden..
https://lists.ledgersmb.org/mailman/listinfo/users