Example of static catalog for Cataloger
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Esteban Manchado Velázquez 1c03ac00a5 Fix hardcorenarrativist.org links in the catalog 1 year ago
app Fix hardcorenarrativist.org links in the catalog 1 year ago
elm-stuff Upgrade to Elm 0.18 3 years ago
.gitignore Upgrade to Elm 0.19 1 year ago
README.md Update README file 3 years ago
brunch-config.js Upgrade to Elm 0.19 1 year ago
elm.json Upgrade to Elm 0.19 1 year ago
package.json Upgrade to Elm 0.19 1 year ago

README.md

Simple Catalog

This is an example catalog that uses the format produced by Cataloger. There is a “production” copy is http://rpg.hcoder.org.

In short, the idea of having a simple tool to make a static, catalog-like websites. Cataloger would maintain the database with the content and export it to JSON, and another program (a client, if you will) would read that static JSON file and present the catalog.

This repo is an example of a catalog client: it reads a JSON file that describes the items in the catalog and shows it, allowing the user to browse the categories, filter by tags, see similar items to the selected one, do simple searches, etc.

Dependencies

This catalog is written in Elm, so you need to install it with:

npm install -g elm

Then you'll need to install the Elm packages and the regular Node packages with:

elm-package install
npm install

Using this Catalog

To use this catalog, you first need to generate a catalog JSON and images using Cataloger, and copy all the files inside app/assets/catalog/.

Then, compile the Elm to the final JS with npm run build. At that point you will have everything you need under public/. You can either load public/index.html in a browser, or copy the whole directory to a web server to be served statically.

Credits