update developing note for git usage

This commit is contained in:
Oliver Gorwits
2015-03-24 22:43:49 +00:00
parent ae2daec7e3
commit 669d4d9faf

View File

@@ -43,17 +43,28 @@ On port 5001 so it won't conflict with any already-running web frontend
=item * =item *
Restarts the web server when you save a file in the C<share> or C<lib> directory Restarts the web server when you save a file in the C<share> or C<lib>
directory
=back =back
You might also want to set C<check_userlog> to C<true> in your config to quieten You might also want to set C<check_userlog> to C<false> in your config to
some of the web client callbacks. quieten some of the web client callbacks.
For the daemon, it's very similar: For the daemon, it's very similar:
DBIC_TRACE=1 ~/bin/localenv bin/netdisco-daemon-fg DBIC_TRACE=1 ~/bin/localenv bin/netdisco-daemon-fg
You can point at a different database without editing C<deployment.yml>:
NETDISCO_DBNAME=testdb DBIC_TRACE=1 ~/bin/localenv plackup -R share,lib -p 5001 bin/netdisco-web-fg
NETDISCO_DBNAME=testdb DBIC_TRACE=1 ~/bin/localenv bin/netdisco-daemon-fg
It's recommended to delete the "C<~/perl5/lib/perl5/App/Netdisco>"
directory to avoid accidentally picking up old Netdisco code. For working on
L<SNMP::Info> you can similarly delete "C<~/perl5/lib/perl5/SNMP/Info*>" and
then symlink from "C<Info.pm>" and "C<Info>" to your git repo.
Happy hacking! Happy hacking!
=head1 Introduction =head1 Introduction