Giter Club home page Giter Club logo

Comments (5)

WaterSibilantFalling avatar WaterSibilantFalling commented on June 9, 2024
...../goodreads$ grep -h "^use " *.pl */*.pm | sort -u

use 5.18.0;
use Cache::Cache qw( $EXPIRES_NEVER $EXPIRES_NOW );
use Cache::FileCache;
use Carp qw( croak );
use FindBin;
use Getopt::Long;
use Goodscrapes;
use HTML::Entities;
use IO::File;
use List::MoreUtils qw( uniq );
use Log::Any '$_log', default_adapter => [ 'File' => '/var/log/good.log' ];
use POSIX       qw( strftime );
use POSIX       qw( strftime floor );
use Pod::Usage;
use Text::CSV qw( csv );
use Time::HiRes qw( time tv_interval );
use Time::Piece;
use URI::Escape;
use WWW::Curl::Easy;
use base 'Exporter';
use cookie-file F<./.cookie> (only required for private accounts).
use cookie-file F<./.cookie> (only required for private accounts).
use lib "$FindBin::Bin/lib/";
use strict;
use utf8;
use warnings qw(all);
use warnings;

which, with a clean out, means:


cpanm -i Cache::Cache Cache::FileCache Carp FindBin \
      Getopt::Long HTML::Entities IO::File List::MoreUtils \
       Log::Any Pod::Usage Text::CSV Time::HiRes \
        Time::Piece URI::Escape WWW::Curl::Easy

from goodreads-toolbox.

andre-st avatar andre-st commented on June 9, 2024

Thanks for your feedback.

These dependencies are listed in the Makefile and and should install via $ sudo make (can be improved, though).

Every script has a description file ($scriptname.md) which includes an install/usage section including make, e.g., https://github.com/andre-st/goodreads/blob/master/savreviews.md
Some description files also have detailed notes about the limitations etc., reading them is recommended.

Every heading here https://github.com/andre-st/goodreads/blob/master/README.md links to such a description file.

I'll think about how to make make more obvious, thanks!

from goodreads-toolbox.

andre-st avatar andre-st commented on June 9, 2024

For now, I added a section "installation" to the main README.md (I think this was the problem) and a comment to the install sections on every single script-description page, too.
Perhaps I will also add an INSTALL.txt file.

from goodreads-toolbox.

WaterSibilantFalling avatar WaterSibilantFalling commented on June 9, 2024

Sorry, my bad. I didn't see - well, at least I didn't run - the Makefile. Makes sense.

from goodreads-toolbox.

andre-st avatar andre-st commented on June 9, 2024

Nevertheless, you had a point. When this happens, it's a usability or documentation problem. In the past, I added script for script and linked them individually in the GR forums, and somewhat forgot about the Toolbox as a whole. Installing deps (etc) via the Makefile was not obvious and make was just mentioned somewhere on the script-pages. If someone just skims over the documentation or directory listing, which I often do too, he will find it more easily, now.

from goodreads-toolbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.