diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2022-09-17 11:31:27 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2022-09-17 11:31:27 +0200 |
commit | 65eaa9ffbe79f02844aaada229059c60d393b071 (patch) | |
tree | e8ae85b96349c0280db1a1eea431dc7b671beb55 | |
parent | 8c511f955c1dc8fcb3b4c9d6e070523a2ac83926 (diff) |
README: cpanm is no longer recommended
-rw-r--r-- | README.md | 19 |
1 files changed, 7 insertions, 12 deletions
@@ -8,14 +8,14 @@ supports german railways and trains which are exposed by the Deutsche Bahn [IRIS Interface](https://finalrewind.org/projects/Travel-Status-DE-IRIS/). You can use the public instance on [travelynx.de](https://travelynx.de) or -host your own via carton/cpanminus. Experimental Docker images are also +host your own via carton. Experimental Docker images are also available. See the Setup notes below. Dependencies --- * perl >= 5.20 - * carton or cpanminus + * carton * build-essential * libpq-dev * libxml2-dev @@ -25,21 +25,16 @@ Installation --- travelynx depends on a set of Perl modules which are documented in `cpanfile`. -After installing the dependencies mentioned above, you can use carton or -cpanminus to install Perl depenencies locally. +After installing the dependencies mentioned above, you can use carton to +install Perl depenencies locally. You may alsobe able to use cpanminus; +however this method is untested. -In the project root directory (where `cpanfile` resides), run either +In the project root directory (where `cpanfile` resides), run ``` carton install ``` -or - -``` -cpanm --installdeps . -``` - and set `PERL5LIB=.../local/lib/perl5` before executing any travelynx commands (see configs in the examples directory) or wrap them with `carton exec`, e.g. `carton exec hypnotoad index.pl` @@ -105,7 +100,7 @@ fi Note that this is subject to change -- the application may perform schema updates automatically in the future. If you used carton for installation, -use `carton exec perl ...` in the snippet above; if you used cpanm, export +use `carton exec perl ...` in the snippet above; otherwise, export `PERL5LIB=.../local/lib/perl5`. Setup with Docker |