【文件属性】:
文件名称:perlbrew-buildpack:用于 dokku 的 Perlbrew buildpack
文件大小:3KB
文件格式:ZIP
更新时间:2021-06-22 23:10:04
Shell
Perlbrew 构建包
在几秒钟内将 Perl 应用程序部署到 。
仅使用 Dokku 的测试
步骤1
编写简单的应用程序,将其保存为 myapp.pl:
# !/usr/bin/env perl
use Mojolicious::Lite;
get ' / ' => sub {
my $self = shift ;
$self -> render( ' index ' );
};
app -> start;
__DATA__
@@ index.html.ep
% layout 'default';
% title 'Welcome';
Welcome to the Mojolicious real-time web framework!
@@ layouts/default.html.ep
<!DOCTYPE html>
<html>
<head><title><%
【文件预览】:
perlbrew-buildpack-master
----bin()
--------detect(143B)
--------compile(2KB)
--------release(71B)
----.gitignore(253B)
----README.md(2KB)