Skip to content

Commit

Permalink
Merge branch 'docs/add-gen-to-dancer2-run'
Browse files Browse the repository at this point in the history
  • Loading branch information
cromedome committed Apr 1, 2022
2 parents 0db49d2 + 4c76fc5 commit 7ca2665
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

[ DOCUMENTATION ]
* GH #1657: Fix the Dancer2::DeprecationPolicy abstract (Jason A. Crome)
* GH #1661: Add 'gen' command to 'dancer2' runs (Steve Bertrand)

0.400000 2022-03-13 22:16:13-04:00 America/New_York

Expand Down
1 change: 1 addition & 0 deletions lib/Dancer2.pm
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ We are also on IRC: #dancer on irc.perl.org.
Shlomi Fish
Slava Goltser
Snigdha
Steve Bertrand
Steve Dondley
Tatsuhiko Miyagawa
Timothy Alexis Vass
Expand Down
6 changes: 3 additions & 3 deletions lib/Dancer2/Manual.pod
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ the most recent version on CPAN.

Create a web application using the dancer script:

$ dancer2 -a MyApp && cd MyApp
$ dancer2 gen -a MyApp && cd MyApp
+ MyApp
+ MyApp/config.yml
+ MyApp/Makefile.PL
Expand Down Expand Up @@ -90,7 +90,7 @@ a script to start it. A default skeleton is used to bootstrap the new
application, but you can use the C<-s> option to provide another skeleton.
For example:

$ dancer2 -a MyApp -s ~/mydancerskel
$ dancer2 gen -a MyApp -s ~/mydancerskel

For an example of a skeleton directory check the default one available in
the C<share/> directory of your Dancer2 distribution.
Expand Down Expand Up @@ -1868,7 +1868,7 @@ Carton builds them for you when you need it.

First set up a new app:

$ dancer2 -a MyApp
$ dancer2 gen -a MyApp
...

Delete the files that are not needed:
Expand Down

0 comments on commit 7ca2665

Please sign in to comment.