File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,3 +26,47 @@ old Perl components and the new Ruby ones (grouped on the namespace `Y2Users`) a
2626in every operation. Apart from the mentioned documents, the ` doc ` directory contains several files
2727describing how both the old Perl and the new Ruby components work and the correspondences between
2828them.
29+
30+ # Development
31+
32+ You need to prepare your environment with:
33+
34+ ```
35+ ruby_version=$(ruby -e "puts RbConfig::CONFIG['ruby_version']")
36+ zypper install -C "rubygem(ruby:$ruby_version:yast-rake)"
37+ zypper install -C "rubygem(ruby:$ruby_version:rspec)"
38+ zypper install git yast2-devtools yast2-testsuite cracklib perl-Digest-SHA1 perl-X500-DN perl-gettext yast2-security yast2-perl-bindings yast2-ldap yast2-pam
39+ ```
40+
41+ You can then run the auth-server module with:
42+
43+ ```
44+ rake run
45+ rake run[module name]
46+ ```
47+
48+ # Tests
49+
50+ ```
51+ rake test:unit
52+ ```
53+
54+ # Logs
55+
56+ If you are running as a non-root user, the logs are located in:
57+
58+ ```
59+ ~/.y2log
60+ ```
61+
62+ If you are running as root, these logs are in:
63+
64+ ```
65+ /var/log/YaST2/y2log
66+ ```
67+
68+ For more detailed logging, you are able to execute YaST with debugging environment variables:
69+
70+ ```
71+ Y2DEBUG=1 rake run[module name]
72+ ```
You can’t perform that action at this time.
0 commit comments