Document cpanfiles

7dd3d9fbe1 and
f7b5822176
gh-pages
Hauke D 7 years ago
parent f71685d586
commit f242e0ca2d

@ -26,12 +26,12 @@ Prerequisites
- [Emscripten](http://emscripten.org) SDK, 1.38.10 and up,
please see the prerequisites and installation instructions at
<http://kripken.github.io/emscripten-site/docs/getting_started/downloads.html#installation-instructions>
- The build script has several CPAN dependencies. One way to install them
is using [lazy](https://metacpan.org/pod/lazy): first,
install "lazy", then run e.g. `perl -Mlazy build.pl --help`.
Otherwise, the modules used by `build.pl` can be seen in
[its source](https://github.com/haukex/webperl/blob/master/build/build.pl)
grouped near the top of the file.
- The build script has several CPAN dependencies. You can install these
via [`cpanm`](https://metacpan.org/pod/App::cpanminus) and the provided
`cpanfile`: `cd` to the `build` directory, then run `cpanm --installdeps .`
(Otherwise, see the `cpanfile` or the source of `build.pl` and install these
modules with the installer of your choice. Another possibility is to use
[`lazy`](https://metacpan.org/pod/lazy), e.g. `perl -Mlazy build.pl --help`)
- A working Internet connection is needed for installation and the first build.

@ -46,15 +46,16 @@ Quick Start
-----------
- Prerequisites: `perl` (a recent version is recommended, e.g. v5.26 and up),
[`plackup` from Plack](https://metacpan.org/pod/distribution/Plack/script/plackup),
[Plack::Middleware::CrossOrigin](https://metacpan.org/pod/Plack::Middleware::CrossOrigin),
and [Cpanel::JSON::XS](https://metacpan.org/pod/Cpanel::JSON::XS).
and [`cpanm`](https://metacpan.org/pod/App::cpanminus) to easily install
dependencies (otherwise, see the file `cpanfile` for the dependencies and
use the module installer of your choce).
- In a shell:
$ wget https://github.com/haukex/webperl/releases/download/v0.09-beta/webperl_prebuilt_v0.09-beta.zip
$ unzip webperl_prebuilt_v0.09-beta.zip
$ cd webperl_prebuilt_v0.09-beta
$ cpanm --installdeps .
$ plackup webperl.psgi
HTTP::Server::PSGI: Accepting connections at http://0:5000/

Loading…
Cancel
Save