ipfs / dir-index-html

Directory listing HTML for go-ipfs gateways
MIT License
38 stars 55 forks source link

Implement simple test program for dir-index-html #30

Closed jessicaschilling closed 4 years ago

jessicaschilling commented 4 years ago

Requesting a simple test program for purposes of being able to cross-browser test the dir-index-html files page itself. At present, it's only possible to browser-test using the flat html file with the short variable names themselves, which isn't terribly accurate when it comes to looking for display errors. Thank you!

welcome[bot] commented 4 years ago

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review. In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment. Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

Finally, remember to use https://discuss.ipfs.io if you just need general support.

jessicaschilling commented 4 years ago

Current process (mainly for my own notes):

  1. Delete the very first line of assets/assets.go in the go-ipfs repo. Otherwise, we'll clobber the changes we're trying to test.
  2. Edit the files directly in assets/dir-index-html in the go-ipfs repo when testing.
  3. In the go-ipfs repo, run go generate ./assets && make install to rebuild and install go-ipfs (while re-generating the assets)