Browse Source

fix web-simple

Lita Gratrix 10 years ago
parent
commit
35a9a461b7
2 changed files with 3 additions and 2 deletions
  1. 0 2
      frameworks/Perl/web-simple/install.sh
  2. 3 0
      frameworks/Perl/web-simple/setup.sh

+ 0 - 2
frameworks/Perl/web-simple/install.sh

@@ -2,5 +2,3 @@
 
 fw_depends perl nginx
 
-cpanm --notest --no-man-page Web::Simple DBI DBD::mysql Plack Starman JSON::XS
-echo installed Web::Simple app dependencies

+ 3 - 0
frameworks/Perl/web-simple/setup.sh

@@ -5,5 +5,8 @@ sed -i 's|server unix:.*/FrameworkBenchmarks/web-simple|server unix:'"${TROOT}"'
 
 export PATH="$PERL_HOME/bin:$PATH"
 
+cpanm --notest --no-man-page Web::Simple DBI DBD::mysql Plack Starman JSON::XS
+echo installed Web::Simple app dependencies
+
 plackup -E production -s Starman --workers=${MAX_THREADS} -l $TROOT/frameworks-benchmark.sock -a $TROOT/app.pl &
 $NGINX_HOME/sbin/nginx -c $TROOT/nginx.conf