Re: [SR-Users] Generating db-tables .html file

2015-12-04 Thread smititelu

On 03.12.2015 13:43, Daniel-Constantin Mierla wrote:

Looking quickly at, I noticed there is a page for this topic:
http://www.kamailio.org/wiki/devel/update-database-schema

It is missing the part for html doc, if you have time, would be good 
if you add your notes there.


Updated the current doku.

Thanks,
Stefan
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Generating db-tables .html file

2015-12-03 Thread smititelu

On 30.11.2015 10:23, Daniel-Constantin Mierla wrote:

for generating the sql script, run in root folder of kamailio sources:

make dbschema

The sql scripts will be placed in subfolders of utils/kamctl/.

For generating the html docs, iirc, the commands are:

- in lib/srdb1/schema:

make docbook-xml

- then in doc/databases/kamailio:

make html

Then a htables.html should be generated.

I didn't have the time to check everything, as I saw the commands 
issue error messages regarding the ID 'id', when doing validations.


Thank you.

Updated also 
http://www.kamailio.org/dokuwiki/doku.php/development:db-schema?

Re: [SR-Users] Generating db-tables .html file

2015-12-03 Thread Daniel-Constantin Mierla


On 03/12/15 12:38, smititelu wrote:
> On 30.11.2015 10:23, Daniel-Constantin Mierla wrote:
>> for generating the sql script, run in root folder of kamailio sources:
>>
>> make dbschema
>>
>> The sql scripts will be placed in subfolders of utils/kamctl/.
>>
>> For generating the html docs, iirc, the commands are:
>>
>> - in lib/srdb1/schema:
>>
>> make docbook-xml
>>
>> - then in doc/databases/kamailio:
>>
>> make html
>>
>> Then a htables.html should be generated.
>>
>> I didn't have the time to check everything, as I saw the commands
>> issue error messages regarding the ID 'id', when doing validations.
>
> Thank you.
>
> Updated also
> 

Re: [SR-Users] Generating db-tables .html file

2015-11-30 Thread Daniel-Constantin Mierla
Hello,

for generating the sql script, run in root folder of kamailio sources:

make dbschema

The sql scripts will be placed in subfolders of utils/kamctl/.

For generating the html docs, iirc, the commands are:

- in lib/srdb1/schema:

make docbook-xml

- then in doc/databases/kamailio:

make html

Then a htables.html should be generated.

I didn't have the time to check everything, as I saw the commands issue
error messages regarding the ID 'id', when doing validations.

Cheers,
Daniel

On 26/11/15 14:29, smititelu wrote:
> Hi,
>
> On 26.11.2015 13:48, Daniel-Constantin Mierla wrote:
>> do you want to add the sql to create the new table or you just want
>> to regenerate the html file with the description of db tables?
> I think of both.
>
> I can easily add the generated database script files(e.g.
> utils/kamctl/ dbtext, mysql, etc..). But I don't know how to
> regenerate the .html file with the description of db tables.
>
> Thanks,
> Stefan

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
http://miconda.eu

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Generating db-tables .html file

2015-11-26 Thread smititelu

Hello,

I want to add a new table to the [1].

I managed to create a new *kamailio-*.xml* in "lib/srdb1/schema/", run 
make and see the resulting **-dbschema.xml* in doc/databases/kamailio, 
along with the other .sql scripts. Here I got stuck; I can't find the 
scrip that generates the final .html.


I tried grepping the code for some keywords found in page source without 
success. Also, couldn't find the answer reading [2].


Any ideas how the final .html is generated?

Thanks,
Stefan

[1] http://kamailio.org/docs/db-tables/kamailio-db-devel.html
[2] http://www.kamailio.org/dokuwiki/doku.php/development:db-schema
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Generating db-tables .html file

2015-11-26 Thread Daniel-Constantin Mierla
Hello,

do you want to add the sql to create the new table or you just want to
regenerate the html file with the description of db tables?

Cheers,
Daniel

On 26/11/15 11:56, smititelu wrote:
> Hello,
>
> I want to add a new table to the [1].
>
> I managed to create a new *kamailio-*.xml* in "lib/srdb1/schema/", run
> make and see the resulting **-dbschema.xml* in doc/databases/kamailio,
> along with the other .sql scripts. Here I got stuck; I can't find the
> scrip that generates the final .html.
>
> I tried grepping the code for some keywords found in page source
> without success. Also, couldn't find the answer reading [2].
>
> Any ideas how the final .html is generated?
>
> Thanks,
> Stefan
>
> [1] http://kamailio.org/docs/db-tables/kamailio-db-devel.html
> [2] http://www.kamailio.org/dokuwiki/doku.php/development:db-schema
>
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
Kamailio Advanced Training, Nov 30-Dec 2, Berlin - http://asipto.com/kat

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Generating db-tables .html file

2015-11-26 Thread smititelu

Hi,

On 26.11.2015 13:48, Daniel-Constantin Mierla wrote:
do you want to add the sql to create the new table or you just want to 
regenerate the html file with the description of db tables?

I think of both.

I can easily add the generated database script files(e.g. utils/kamctl/ 
dbtext, mysql, etc..). But I don't know how to regenerate the .html file 
with the description of db tables.


Thanks,
Stefan
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users