On Sun, Apr 8, 2012 at 5:31 PM, Rolf Stöckli <[email protected]> wrote:
> Am 08.04.2012 14:00, schrieb Armaghan Saqib:
>
>> I could not make it work in the quick 5 minutes installation but will
>> look at it in detail today and let you know.
>
> The user management in version 3 is completely different from version 2, so
> you can't just install it over a version 2 or in the same way as you are
> used to. When you create a database, you only add a "admin@database" user,
> all the other users are added inside SQL-Ledger in the HR section. Detailed
> instructions are found at the bottom of doc/UPGRADE:
> https://github.com/Tekki/sql-ledger/blob/master/doc/UPGRADE

Thanks Rolf for the pointer.

So for a new dataset:

1. Create a data set using admin.pl
2. Login with admin@datasetname
3. Change your password.
4. Create more users using HR section.

Here is the relevent section from docs/UPGRADE

Version 2.8.30 to 3.0
---------------------
1. edit the members file and add the name of the dataset
   to every login so the logins are 'login@dataset'
2. make a copy of the section of one user and change the
   login to 'admin@dataset'
3. create a directory with the same name as the dataset
   in the spool and templates directory
4. move the private templates to the dataset directory
5. move the spoolfiles to the dataset directory
6. copy the following template to your dataset directory

   $ cd sql-ledger/templates

   $ cp Default-payslip.tex dataset/payslip.tex
   $ cp Default-barcode.tex dataset/barcode.tex
_______________________________________________
SQL-Ledger mailing list
[email protected]
http://lists.ledger123.com/mailman/listinfo/sql-ledger

Reply via email to