Lyle | 23 Mar 15:24 2011

Getting Started

Hi All,
  I've finally got around to installing LedgerSMB, need to get my VAT sorted before the end of the month so things are a rush as usual.

I'm more of a fan of GIT than SVN. I've just read:
http://www.ledgersmb.org/node/68

Is this current?

I'm going to be contributing so need to make sure I'm working from the right branch.

Looks like the first thing I'll be doing is getting LedgerSMB to work under Windows/IIS7 (if it's possible, I'll have to check the deps). I suspect this'll mean editing a few files, so don't want to have to redo anything in a different branch or what not.

I'm an experienced Perl programmer so you'll want me helping out :) Once I start using ledger, I'm sure I'll end up fixing bugs and adding features.


Lyle

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Ledger-smb-devel mailing list
Ledger-smb-devel@...
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel
Lyle | 24 Mar 03:24 2011

Re: Getting Started

On 23/03/2011 14:24, Lyle wrote:
Looks like the first thing I'll be doing is getting LedgerSMB to work under Windows/IIS7 (if it's possible, I'll have to check the deps). I suspect this'll mean editing a few files, so don't want to have to redo anything in a different branch or what not.

Made some progress here. Scripts accessed directly through the browser need:

BEGIN {
    use FindBin qw ($RealBin $RealScript);
    use lib $FindBin::RealBin;
    chdir $RealBin;
    close STDERR if $ENV{SERVER_SOFTWARE} =~ /IIS/;
    $ENV{SCRIPT_FILENAME} = $ENV{PATH_TRANSLATED};
    $ENV{SCRIPT_FILENAME} =~ s/\\/\//g;
}

Added to the top. IIS doesn't execute CGI scripts in their home folder, so you need to set it explicitly. Also ENV varies and it has a habbit or directing STDERR to STDOUT which causes problems with the headers.

I've been working on trunk. Fixed another couple of bugs to get initiate.pl working, found my contrib folder and copied the files across... I had to add the Postgres bin folder to my path... Now most of the SQL files loads, but the chart General.sql gives a load of errors, as does all the roles statements.

Not sure if I'm following the right install process, there seem to be several readme and install files in trunk, each with different install guides :/


Lyle

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Ledger-smb-devel mailing list
Ledger-smb-devel@...
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel
Erik Huelsmann | 24 Mar 07:59 2011
Picon

Re: Getting Started

Hi Lyle,

There should be some postings by people trying to install trunk in the
archives; there's one particularly detailed one from last year which
worked quite well for me.

However, once I got everything up and running, it looked like the
scripts were not particularly well written to take into account the
situation of a completely empty database (no customers, no employees,
no managers). I'd be nice to see you advance LedgerSMB in that
respect, because I like what I see when looking at the data model.

Regards,

Erik.

On Thu, Mar 24, 2011 at 3:24 AM, Lyle <webmaster <at> cosmicperl.com> wrote:
> On 23/03/2011 14:24, Lyle wrote:
>
> Looks like the first thing I'll be doing is getting LedgerSMB to work under
> Windows/IIS7 (if it's possible, I'll have to check the deps). I suspect
> this'll mean editing a few files, so don't want to have to redo anything in
> a different branch or what not.
>
> Made some progress here. Scripts accessed directly through the browser need:
>
> BEGIN {
>     use FindBin qw ($RealBin $RealScript);
>     use lib $FindBin::RealBin;
>     chdir $RealBin;
>     close STDERR if $ENV{SERVER_SOFTWARE} =~ /IIS/;
>     $ENV{SCRIPT_FILENAME} = $ENV{PATH_TRANSLATED};
>     $ENV{SCRIPT_FILENAME} =~ s/\\/\//g;
> }
>
> Added to the top. IIS doesn't execute CGI scripts in their home folder, so
> you need to set it explicitly. Also ENV varies and it has a habbit or
> directing STDERR to STDOUT which causes problems with the headers.
>
> I've been working on trunk. Fixed another couple of bugs to get initiate.pl
> working, found my contrib folder and copied the files across... I had to add
> the Postgres bin folder to my path... Now most of the SQL files loads, but
> the chart General.sql gives a load of errors, as does all the roles
> statements.
>
> Not sure if I'm following the right install process, there seem to be
> several readme and install files in trunk, each with different install
> guides :/
>
>
> Lyle
>
>
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> Ledger-smb-devel mailing list
> Ledger-smb-devel <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel
>
>

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Ledger-smb-devel mailing list
Ledger-smb-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel

Gmane