wordle-life/README.md

29 lines
1.4 KiB
Markdown
Raw Normal View History

2022-02-10 07:13:51 +00:00
# wordle-life
one-page app that turns wordle shares into standard file format used in the Conway's Game of Life community and sets it up for running in embedded Lifeviewer on the same page
2022-02-10 07:27:48 +00:00
## Dependencies
This app is not at all packaged. You'll have to make sure all the perl modules you need are installed. If you are on a community unix server with just user rights (like, say SDF), you may need to ask an admin to install for you, or alternately, you can make a personal perl library in your user space.
Here's what I used to [install the perl module I needed with cpanm](https://stackoverflow.com/questions/2980297/how-can-i-use-cpan-as-a-non-root-user). It's just:
curl http://cpanmin.us | perl - -l ~/perl5 App::cpanminus local::lib
eval `perl -I ~/perl5/lib/perl5 -Mlocal::lib`
echo 'eval `perl -I ~/perl5/lib/perl5 -Mlocal::lib`' >> ~/.profile
echo 'export MANPATH=$HOME/perl5/man:$MANPATH' >> ~/.profile
then for each package, you can run *cpanminus*:
$> cpanm CGI::Tiny
2022-02-10 07:27:48 +00:00
...
$> cpanm Mojo::Template
2022-02-10 07:27:48 +00:00
...
$> cpnam Mojo::Loader
...
$> cpanm Readonly
2022-02-10 07:27:48 +00:00
...
Also, the Life Viewer is a super-cool javascript plugin app from the people at [Conwaylife.com](https://conwaylife.com) that is expected to be in the same directory as the CGI file. It is available with instructions [here](https://conwaylife.com/wiki/Tutorials/LifeViewer_JavaScript_plug-in)