Correct the instructions for runing dev instance of web and daemon
This commit is contained in:
@@ -23,6 +23,7 @@
|
|||||||
* Correct bulkwalk_off logic
|
* Correct bulkwalk_off logic
|
||||||
* Silence warnings when ports don't support i_lastchange
|
* Silence warnings when ports don't support i_lastchange
|
||||||
* Correct *_only and *_no setting logic
|
* Correct *_only and *_no setting logic
|
||||||
|
* Correct the instructions for runing dev instance of web and daemon
|
||||||
|
|
||||||
2.017000 - 2013-09-23
|
2.017000 - 2013-09-23
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ the L<documentation|App::Netdisco>. Then:
|
|||||||
git clone git://git.code.sf.net/p/netdisco/netdisco-ng netdisco-ng
|
git clone git://git.code.sf.net/p/netdisco/netdisco-ng netdisco-ng
|
||||||
cd netdisco-ng/Netdisco
|
cd netdisco-ng/Netdisco
|
||||||
|
|
||||||
~/bin/localenv DBIC_TRACE_PROFILE=console DBIC_TRACE=1 plackup -R share,lib -p 5001 bin/netdisco-web-fg
|
DBIC_TRACE_PROFILE=console DBIC_TRACE=1 ~/bin/localenv plackup -R share,lib -p 5001 bin/netdisco-web-fg
|
||||||
|
|
||||||
The above creates you a git clone (change the URL if you're a Netdisco
|
The above creates you a git clone (change the URL if you're a Netdisco
|
||||||
Developer) and runs the web server:
|
Developer) and runs the web server:
|
||||||
@@ -47,8 +47,17 @@ Restarts the web server when you save a file in the C<share> or C<lib> directory
|
|||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
You should be able to work out something similar for
|
You might also want to set C<check_userlog> to C<true> in your config to quieten
|
||||||
C<bin/netdisco-daemon-fg>, too. Happy hacking!
|
some of the web client callbacks.
|
||||||
|
|
||||||
|
For the daemon, it's very similar:
|
||||||
|
|
||||||
|
DBIC_TRACE_PROFILE=console DBIC_TRACE=1 ~/bin/localenv bin/netdisco-daemon-fg
|
||||||
|
|
||||||
|
Don't be alarmed by the high rate of database queries in the daemon - most of
|
||||||
|
them are communicating only with a local in-memory SQLite database.
|
||||||
|
|
||||||
|
Happy hacking!
|
||||||
|
|
||||||
=head1 Introduction
|
=head1 Introduction
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user