Skip to content

Instantly share code, notes, and snippets.

@s1037989
Created February 29, 2016 18:11
Show Gist options
  • Save s1037989/2abb8cd51f65fd9e5dee to your computer and use it in GitHub Desktop.
Save s1037989/2abb8cd51f65fd9e5dee to your computer and use it in GitHub Desktop.
stefan@deskws:/tmp/convos$ git pull
Updating bbb9f29..ccfa6be
Fast-forward
script/convos | 42 ++++++++++++++++++++++++++++++------------
1 file changed, 30 insertions(+), 12 deletions(-)
stefan@deskws:/tmp/convos$ ./script/convos
---
debug:
perl: /home/stefan/perl5/perlbrew/perls/perl-5.23.7/bin/perl5.23.7
INC:
- /tmp/convos/script/../lib
- /tmp/convos/script/../local/lib/perl5/i686-linux
- /tmp/convos/script/../local/lib/perl5
- /home/stefan/.perlbrew/libs/perl-5.23.7@default/lib/perl5/5.23.7/i686-linux
- /home/stefan/.perlbrew/libs/perl-5.23.7@default/lib/perl5/5.23.7
- /home/stefan/.perlbrew/libs/perl-5.23.7@default/lib/perl5/i686-linux
- /home/stefan/.perlbrew/libs/perl-5.23.7@default/lib/perl5
- /home/stefan/perl5/perlbrew/perls/perl-5.23.7/lib/site_perl/5.23.7/i686-linux
- /home/stefan/perl5/perlbrew/perls/perl-5.23.7/lib/site_perl/5.23.7
- /home/stefan/perl5/perlbrew/perls/perl-5.23.7/lib/5.23.7/i686-linux
- /home/stefan/perl5/perlbrew/perls/perl-5.23.7/lib/5.23.7
- .
---
Found missing dependencies!
Run './script/convos install' to install them to '/tmp/convos/script/../local'.
Note: 'cpanm' is required. (https://cpanmin.us)
* CSS::Sass 3.3.0 (Can't locate CSS/Sass.pm)
stefan@deskws:/tmp/convos$ ./script/convos install
$ cpanm -n -l /tmp/convos/script/../local -M https://cpan.metacpan.org CSS::Sass
--> Working on CSS::Sass
Fetching https://cpan.metacpan.org/authors/id/O/OC/OCBNET/CSS-Sass-3.3.0.tar.gz ... OK
==> Found dependencies: ExtUtils::CppGuess
--> Working on ExtUtils::CppGuess
Fetching https://cpan.metacpan.org/authors/id/D/DA/DAVIDO/ExtUtils-CppGuess-0.11.tar.gz ... OK
Configuring ExtUtils-CppGuess-0.11 ... OK
Building ExtUtils-CppGuess-0.11 ... OK
Successfully installed ExtUtils-CppGuess-0.11
Configuring CSS-Sass-v3.3.0 ... OK
==> Found dependencies: List::MoreUtils, File::Slurp
--> Working on List::MoreUtils
Fetching https://cpan.metacpan.org/authors/id/R/RE/REHSACK/List-MoreUtils-0.413.tar.gz ... OK
Configuring List-MoreUtils-0.413 ... OK
==> Found dependencies: Exporter::Tiny
--> Working on Exporter::Tiny
Fetching https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/Exporter-Tiny-0.042.tar.gz ... OK
Configuring Exporter-Tiny-0.042 ... OK
Building Exporter-Tiny-0.042 ... OK
Successfully installed Exporter-Tiny-0.042
Building List-MoreUtils-0.413 ... OK
Successfully installed List-MoreUtils-0.413
--> Working on File::Slurp
Fetching https://cpan.metacpan.org/authors/id/U/UR/URI/File-Slurp-9999.19.tar.gz ... OK
Configuring File-Slurp-9999.19 ... OK
Building File-Slurp-9999.19 ... OK
Successfully installed File-Slurp-9999.19
Building CSS-Sass-v3.3.0 ... OK
Successfully installed CSS-Sass-v3.3.0
5 distributions installed
All dependencies are installed.
stefan@deskws:/tmp/convos$ ./script/convos
[Mon Feb 29 12:24:35 2016] [warn] Using default (unsafe) session secrets. (Config file was not set up)
[Mon Feb 29 12:24:35 2016] [debug] Processed asset "convos.js".
[Mon Feb 29 12:24:35 2016] [debug] Processed asset "convos.css".
Usage: APPLICATION COMMAND [OPTIONS]
mojo version
mojo generate lite_app
./myapp.pl daemon -m production -l http://*:8080
./myapp.pl get /foo
./myapp.pl routes -v
Tip: CGI and PSGI environments can be automatically detected very often and
work without commands.
Options (for all commands):
-h, --help Get more information on a specific command
--home <path> Path to home directory of your application, defaults to
the value of MOJO_HOME or auto-detection
-m, --mode <name> Operating mode for your application, defaults to the
value of MOJO_MODE/PLACK_ENV or "development"
Commands:
cgi Start application with CGI
cpanify Upload distribution to CPAN
daemon Start application with HTTP and WebSocket server
eval Run code against application
generate Generate files and directories from templates
get Perform HTTP request
inflate Inflate embedded files to real files
prefork Start application with preforking HTTP and WebSocket server
psgi Start application with PSGI
routes Show available routes
swagger2 Interface with Swagger2.
test Run tests
version Show versions of available modules
See 'APPLICATION help COMMAND' for more information on a specific command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment