mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2026-02-03 06:03:25 +00:00
hello, I am fresh bird to Go, I want to know how I can change the web index page? #328
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @goxofy on GitHub.
Thank you very much!
@ghost commented on GitHub:
Hi @goxofy, having just been in the same boat as you I thought I'd pitch in with an answer in case anyone else comes across this.
Repo for the front end source is here - https://github.com/dutchcoders/transfer.sh-web
Any changes you make will need to be complied down into a bindata_gen.go file, if you're just editing the index.html file all you'll need to do is make sure go is installed and run
go generate .from the directory you cloned into. This will place your bindata file in the current directory, which then needs to be copied over to replace the bindata_gen.go file in this repo - https://github.com/dutchcoders/transfer.sh/blob/master/vendor/github.com/dutchcoders/transfer.sh-web/bindata_gen.goIf you're editing CSS and JS you'll need to compile assets using
grunt buildbefore you rungo generate ., ensuring npm and bower dependencies are installed.Hope that helps.