Compare commits
No commits in common. "fc7975379ed920687d0f2a9d60cd3c389a45950d" and "c9af4fbde8a9669324e14d3a4b0fed744089b5d6" have entirely different histories.
fc7975379e
...
c9af4fbde8
@ -3,8 +3,7 @@
|
|||||||
If git is not installed on the operating system, please install it now
|
If git is not installed on the operating system, please install it now
|
||||||
(see the git documentation for [instructions on installing git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)).
|
(see the git documentation for [instructions on installing git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)).
|
||||||
|
|
||||||
To retrieve the code from the repository on anhonesthost.net (a username and
|
To retrieve the code from the repository on anhonesthost.net, run:
|
||||||
password are required), run:
|
|
||||||
|
|
||||||
`git clone https://repo.anhonesthost.net/rho_n/hpr_generator.git`
|
`git clone https://repo.anhonesthost.net/rho_n/hpr_generator.git`
|
||||||
|
|
||||||
@ -18,7 +17,7 @@ which the clone command was executed containing a local copy of the git reposito
|
|||||||
# Install required Perl modules
|
# Install required Perl modules
|
||||||
|
|
||||||
Installing the Perl modules is the most finicky part of the installation process.
|
Installing the Perl modules is the most finicky part of the installation process.
|
||||||
The needed Perl modules can be found using the operating system's package
|
The needed Perl modules can be found using the operating systems's package
|
||||||
manager or using the modules found in the
|
manager or using the modules found in the
|
||||||
[Comprehensive Perl Archive Network (CPAN)](https://www.cpan.org/).
|
[Comprehensive Perl Archive Network (CPAN)](https://www.cpan.org/).
|
||||||
|
|
||||||
@ -36,7 +35,7 @@ apt install libconfig-std-perl \
|
|||||||
|
|
||||||
## Using CPAN to install the modules
|
## Using CPAN to install the modules
|
||||||
|
|
||||||
A cross platform method to install the needed modules is the Perl CPAN application.
|
A cross platform method to install the needed modules is Perl CPAN application.
|
||||||
Make sure both the [make](https://www.gnu.org/software/make/manual/make.html)
|
Make sure both the [make](https://www.gnu.org/software/make/manual/make.html)
|
||||||
command and the [cpan](https://perldoc.perl.org/CPAN) command are available.
|
command and the [cpan](https://perldoc.perl.org/CPAN) command are available.
|
||||||
Install them using the operating system's package manager, or from source.
|
Install them using the operating system's package manager, or from source.
|
||||||
@ -57,7 +56,7 @@ cpan Tie::DBI
|
|||||||
The hpr_generator relies on information from a database to generate many of the
|
The hpr_generator relies on information from a database to generate many of the
|
||||||
files for the website (for example: index.html, series/index.html,
|
files for the website (for example: index.html, series/index.html,
|
||||||
hpr_mp3.rss, etc). This data is available from a MySQL dump file found on
|
hpr_mp3.rss, etc). This data is available from a MySQL dump file found on
|
||||||
hackerpublicradio.org at URL "https://www.hackerpublicradio.org/hpr.sql".
|
hackerpublicradio.org at "https://www.hackerpublicradio.org/hpr.sql".
|
||||||
|
|
||||||
The first step is to download the hpr.sql file. This can be done using your
|
The first step is to download the hpr.sql file. This can be done using your
|
||||||
browser, or by running one of the following commands:
|
browser, or by running one of the following commands:
|
||||||
|
@ -35,8 +35,7 @@ Static web page generator for the Hacker Public Radio website.
|
|||||||
* Tie::DBI
|
* Tie::DBI
|
||||||
* DBD::SQLite or DBD:mysql
|
* DBD::SQLite or DBD:mysql
|
||||||
* Date::Calc
|
* Date::Calc
|
||||||
* See the Getting Started tutorial (GETTING_STARTED.md) for more details on
|
|
||||||
installing the HPR generator.
|
|
||||||
## Usage
|
## Usage
|
||||||
Generate two specific pages:
|
Generate two specific pages:
|
||||||
`site-generator index about`
|
`site-generator index about`
|
||||||
|
Reference in New Issue
Block a user