This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## -*- mode: perl; coding: utf-8 -*- | |
requires 'DBI'; | |
requires 'DBD::mysql'; | |
requires 'Digest::SHA'; | |
requires 'Plack'; | |
requires 'CGI::PSGI'; | |
requires 'CGI::Parse::PSGI'; | |
requires 'CGI::Compile'; | |
requires 'XMLRPC::Transport::HTTP::Plack'; | |
requires 'HTML::Entities'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Starman: | |
- Preforking standalone HTTP server | |
- Based on Catalyst::Engine::HTTP::Prefork by Andy Grundma | |
- Ported to Plack by Tatsuhiko Miyagawa | |
- Uses Net::Server::PreFork | |
- Supports HTTP/1.1 | |
- Pipelined requests | |
- Chunked request/response | |
- Keep-Alives | |
- Graceful restart with HUP (No shutdown with QUIT yet) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl https://www.npmjs.org/install.sh | sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -w | |
use strict; | |
use lib $ENV{MT_HOME} ? "$ENV{MT_HOME}/lib" : 'lib'; | |
use MT::Bootstrap (); | |
use MT::App::CMS; | |
use CGI::PSGI; | |
use Plack::Builder; | |
use Plack::App::URLMap; | |
use Plack::App::File; |