1 |
A3C -- quick notes |
A3C -- quick notes |
2 |
|
|
3 |
bootstrap: |
Simple steps to bootstrap: |
4 |
|
|
5 |
perl Makefile.PL |
perl Makefile.PL |
6 |
make |
make |
7 |
./bin/db-init.sh |
./bin/db-init.sh |
8 |
./bin/towns.pl |
./bin/towns.pl |
9 |
|
|
10 |
cp etc/config.yml etc/site_config.yml |
cp etc/config.yml etc/site_config.yml |
11 |
|
|
12 |
and stip only parts that you want to customize |
and stip only parts that you want to customize |
13 |
|
|
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 |