File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -268,10 +268,12 @@ sub _how_to_run {
268
268
269
269
my $app_path = $vars -> { apppath };
270
270
my $app_name = $vars -> { appname };
271
+
272
+ print " \n Your new application is ready! To run it:\n " ;
273
+
271
274
if ( $vars -> { docker } ) {
272
275
my $image = lc $app_name ;
273
276
print qq{
274
- Your new application is ready! To run it:
275
277
276
278
cd $app_path
277
279
docker build -t ${image} .
@@ -284,18 +286,20 @@ runs on inside of the container.
284
286
285
287
You may also run your app without Docker:
286
288
} ;
287
- } else {
288
- print " \n Your new application is ready! To run it:\n " ;
289
289
}
290
+
291
+ my $install_deps ;
292
+ $install_deps = " \n cpanm --installdeps ."
293
+ if $self -> skel_name ne ' default' ;
294
+
290
295
print qq{
291
- cd $app_path
296
+ cd $app_path$install_deps
292
297
plackup bin/app.psgi
293
298
294
- To access your application, point your browser to http://localhost:5000
299
+ To access your application, point your browser to http://localhost:5000/
295
300
296
301
If you need community assistance, the following resources are available:
297
302
- Dancer website: https://perldancer.org
298
- - Twitter: https://twitter.com/PerlDancer/
299
303
- GitHub: https://github.com/PerlDancer/Dancer2/
300
304
- Mailing list: https://lists.perldancer.org/mailman/listinfo/dancer-users
301
305
- IRC: irc.perl.org#dancer
You can’t perform that action at this time.
0 commit comments