Skip to content

Conversation

@jonnyjohannes
Copy link
Collaborator

@jonnyjohannes jonnyjohannes commented Nov 26, 2022

https://nowaker.net/post/ruby-on-rails-a-static-site-generator.html

To (re)generate the full set of static pages:
1.

rake importer:generate

=> creates all static files that have been committed to `out`
## NB: This task depends on: [`wget`, `rsync`]
  1. append .html to files expected to be served as html, something like:
cd 5esrd
for f in *; do mv "$f" "$f.html"; done

Upload the /out folder to netlify

@jonnyjohannes
Copy link
Collaborator Author

The favorites page is busted because it makes an ajax call back to the server to get the monster record for keys stored in localstorage.

We could load the full monster json to the browser and then restore favourites with client-side-only logic

@jonnyjohannes jonnyjohannes marked this pull request as ready for review November 26, 2022 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant