travelynx | Traewelling-inspired journey logger with realtime data

 by   derf Perl Version: 1.31.4 License: AGPL-3.0

kandi X-RAY | travelynx Summary

kandi X-RAY | travelynx Summary

travelynx is a Perl library. travelynx has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. You can download it from GitHub.

travelynx allows checking into and out of individual trains, thus providing a log of your railway journeys annotated with real-time delays and service messages. At the moment, it only supports german railways and trains which are exposed by the Deutsche Bahn IRIS Interface.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              travelynx has a low active ecosystem.
              It has 50 star(s) with 8 fork(s). There are 6 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 14 open issues and 37 have been closed. On average issues are closed in 82 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of travelynx is 1.31.4

            kandi-Quality Quality

              travelynx has no bugs reported.

            kandi-Security Security

              travelynx has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              travelynx is licensed under the AGPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              travelynx releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of travelynx
            Get all kandi verified functions for this library.

            travelynx Key Features

            No Key Features are available at this moment for travelynx.

            travelynx Examples and Code Snippets

            No Code Snippets are available at this moment for travelynx.

            Community Discussions

            No Community Discussions are available at this moment for travelynx.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install travelynx

            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. In the project root directory (where cpanfile resides), run either. 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.
            First, you need to set up a PostgreSQL database so that travelynx can store user accounts and journeys. It must be at least version 9.4 and must use a UTF-8 locale. The following steps describe setup on a Debian 9 system; setup on other distributions should be similar. Your server also needs to be able to send mail. Set up your MTA of choice and make sure that the sendmail binary can be used for outgoing mails. Mail reception on the server is not required.
            Write down a strong random password
            Create a postgres user for travelynx: sudo -u postgres createuser -P travelynx (enter password when prompted)
            Create the database: sudo -u postgres createdb -O travelynx travelynx
            Copy examples/travelynx.conf to the application root directory (the one in which index.pl resides) and edit it. Make sure to configure db, cache, mail, and secrets.
            Initialize the database: carton exec perl index.pl database migrate or PERL5LIB=local/lib/perl5 perl index.pl database migrate
            Set up a travelynx service using the service supervisor of your choice (see examples/travelynx.service for a systemd unit file)
            Configure your web server to reverse-provy requests to the travelynx instance. See examples/nginx-site for an nginx config.
            Install a timeout 5m perl index.pl work -m production cronjob. It is used to update realtime data and perform automatic checkout and should run every three minutes or so, see examples/cron.
            Note that travelynx Docker support is experimental and, in its current form, far from best practices. Pull requests are appreciated. First, you need to set up a PostgreSQL database so that travelynx can store user accounts and journeys. It must be at least version 9.4 and must use a UTF-8 locale. See above (or examples/docker/postgres-init.sh) for database initialization. You do not need to perform the database migrate step. Next, you need to prepare three files that will be mounted into the travelynx container: travelynx configuration, e-mail configuration, and imprint and privacy policy. For the sake of this readme, we assume that you are using the local/ directory to store these. travelynx consists of two runtimes: the web application and a background worker. Your service supervisor (or docker compose / docker stack / kubernetes setup) should orchestrate them somewhere along these lines. To install an update: stop worker and web application, update the travelynx image, and start them again. Database migrations will be performed automatically. Note that downgrades are not supported.
            mkdir local
            copy examples/travelynx.conf to local/travelynx.conf and configure it.
            copy examples/docker/email-transport.sh to local/email-transport.sh and configure it. The travelynx container does not contain a mail server, so it needs a separate SMTP server to send mail. It does not receive mail.
            create local/imprint.html.ep and enter imprint as well as privacy policy data.
            Configure your web server to reverse-provy requests to the travelynx instance. See examples/nginx-site for an nginx config.
            docker pull derfnull/travelynx:latest
            Start web application: docker run -p 8093:8093 -v ${PWD}/local:/local:ro travelynx:latest
            Wait until localhost:8093 responds to requests
            Start worker: docker run -v ${PWD}/local:/local:ro travelynx:latest worker

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/derf/travelynx.git

          • CLI

            gh repo clone derf/travelynx

          • sshUrl

            git@github.com:derf/travelynx.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link