Parent Directory | Revision Log
update bootstrap part of README into useful chunk with example how to create initial models from LDAP
1 | dpavlin | 107 | A3C -- quick notes |
2 | |||
3 | dpavlin | 115 | Simple steps to bootstrap: |
4 | dpavlin | 107 | |
5 | dpavlin | 115 | perl Makefile.PL |
6 | make | ||
7 | ./bin/db-init.sh | ||
8 | ./bin/towns.pl | ||
9 | dpavlin | 107 | |
10 | dpavlin | 115 | cp etc/config.yml etc/site_config.yml |
11 | dpavlin | 107 | |
12 | and stip only parts that you want to customize | ||
13 | dpavlin | 115 | |
14 | Create models which you specified in config.yml: | ||
15 | |||
16 | objectClass: | ||
17 | person: hrEduPerson | ||
18 | organization: hrEduOrg | ||
19 | |||
20 | with: | ||
21 | |||
22 | ./bin/ldap2model.pl --model hrEduPerson --mixin posixAccount --mixin wtAdmin | ||
23 | ./bin/ldap2model.pl --model hrEduOrg --mixin dcObject --mixin posixAccount | ||
24 | |||
25 | Then run following to import initial 100 records of data: | ||
26 | |||
27 | ./bin/ldap.pl --limit 100 |
ViewVC Help | |
Powered by ViewVC 1.1.26 |