Hi all,
This week, I completed Docker Compose based development & test
infrastructure which will help you get started with just a few commands:
$ git clone https://github.com/ledgersmb/LedgerSMB.git ledgersmb
$ git clone https://github.com/ledgersmb/ledgersmb-dev-docker.git
$ cd ledgersmb
$ LSMB_DEV_VERSION=master docker-compose \
-f ../ledgersmb-dev-docker/docker-compose.yml up -d
With these 3 commands, you have a fully operational environment ready for
development of LedgerSMB on your local machine with all the dependencies
(inside the docker containers) required to run the test suite. The Docker
Compose file starts 3 containers wrapping the current directory (ledgersmb)
and starting all the required processes for testing.
Running the test-suite (basic part) is as easy as:
$ docker exec -ti lsmb-master-devel prove
and running the full test suite is as easy as invoking:
$ docker exec -ti lsmb-master-devel \
prove --pgtap-option dbname=lsmbtestdb -r t/ xt/
If you changed the Perl sources, please run
$ docker restart lsmb-master-devel
before continuing your tests (Starman needs to be reloaded to serve the new
logic).
If you wanted to contribute, but preparing a development environment looked
daunting, this may be the right time to dip your toe and try the waters!
--
Bye,
Erik.
http://efficito.com -- Hosted accounting and ERP.
Robust and Flexible. No vendor lock-in.
An initial version of the ledgersmb-1.5 debian package for version
1.5.13-2 has been released and uploaded to our apt package repository
for 'main' in stretch[1] as well as to our PPA[2], for 'artful'
(v17.10) as well as 'xenial (v16.04). (The Debian source packages are
available as well.)
This new version includes the ledgersmb-1.5-apache,
ledgersmb-1.5-lighttpd, & ledgersmb-1.5-varnish packages to go along
with the existing ledgersmb-1.5-nginx package. Like the latter,
they're dependant on the ledgersmb-1.5 package they were built with,
for which they are an enhancement. Note that the installs do not
attempt to get the proxy fully operational as they just get the proxy
app installed if it isn't already along with installing (and/or
providing an example of) a configuration file to use; which needs to
be edited as neccessary, enabled, and the app restarted in order for
it to be used.
ledgersmb-1.5 : financial accounting and ERP program (Perl/SQL backend)
ledgersmb-1.5-apache : web proxy via Apache
ledgersmb-1.5-lighttpd : web proxy via lighttpd
ledgersmb-1.5-nginx : web proxy via Nginx
ledgersmb-1.5-varnish : web proxy via varnish
--
Robert J. Clay
rjclay(a)gmail.com, jame(a)rocasa.us
GPG ID: 2448 3AE0 874D 8696 6DCD ECF4 198C AB6F 43B7 EA9A
[1] https://apt.ledgersmb.org/
[2] https://launchpad.net/~ledgersmb/+archive/ubuntu/main/+packages
An initial version of the ledgersmb-1.5 debian package for version
1.5.13-1 has been released and uploaded to our apt package repository
for 'main' in Debian v9 (Stretch). It has also been uploaded to our
PPA, for 'artful' (Ubuntu v17.10). (The Debian source packages are
available as well.)
At our apt package repository[1]:
ledgersmb-1.5_1.5.13-1_all.deb
ledgersmb-1.5-nginx_1.5.13-1_all.deb
At our PPA[2]:
ledgersmb-1.5_1.5.13-1~ubuntu17.11.1_all.deb
ledgersmb-1.5-nginx_1.5.13-1~ubuntu17.11.1_all.deb
--
Robert J. Clay
rjclay(a)gmail.com, jame(a)rocasa.us
GPG ID: 2448 3AE0 874D 8696 6DCD ECF4 198C AB6F 43B7 EA9A
[1] https://apt.ledgersmb.org/
[2] https://launchpad.net/~ledgersmb/+archive/ubuntu/main/+package