mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-22 02:47:48 +08:00
* remove building the pre-bundled plugins as shared objects in makefile * chore: update go version to minimum of 1.17 |
||
|---|---|---|
| .. | ||
| src | ||
| test | ||
| dir-index.html | ||
| index.go | ||
| knownIcons.txt | ||
| package.json | ||
| README.md | ||
dir-index-html
Directory listing HTML for
go-ipfsgateways
Updating
When making updates to the directory listing page template, please note the following:
- Make your changes to the (human-friendly) source documents in the
srcdirectory and runnpm run build - Before testing or releasing, go to the top-level
./assetsdirectory and make sure to run thego generate .script to update the bindata version
Testing
- Make sure you have Go installed
- Start the test server, which lives in its own directory:
> cd test
> go run .
This will listen on localhost:3000 and reload the template every time you refresh the page.
If you get a "no such file or directory" error upon trying go run ., make sure you ran npm run build to generate the minified artifact that the test is looking for.
