Coder Social home page Coder Social logo

Put ads banner on html. about simple-torrent HOT 6 CLOSED

boypt avatar boypt commented on July 1, 2024
Put ads banner on html.

from simple-torrent.

Comments (6)

boypt avatar boypt commented on July 1, 2024 1

Install go-bindata command:
go get -v -u github.com/shuLhan/go-bindata/...
Then run go generate under the static dir is enough.

The script is for git commited sources. The script under script/make_release.sh is the one I use.

from simple-torrent.

boypt avatar boypt commented on July 1, 2024

See the script under static/generate.sh , compress static files into a go module.

from simple-torrent.

kazuma777 avatar kazuma777 commented on July 1, 2024

See the script under static/generate.sh , compress static files into a go module.

Can you give example how to use script generate.sh?

i try got this

fatal: not a git repository (or any of the parent directories): .git static.go:1: running "go-bindata": exec: "go-bindata": executable file not found in $PATH fatal: not a git repository (or any of the parent directories): .git

from simple-torrent.

kazuma777 avatar kazuma777 commented on July 1, 2024

Install go-bindata command:
go get -v -u github.com/shuLhan/go-bindata/...
Then run go generate under the static dir is enough.

The script is for git commited sources. The script under script/make_release.sh is the one I use.

Thank you very much!

from simple-torrent.

kazuma777 avatar kazuma777 commented on July 1, 2024

Install go-bindata command:
go get -v -u github.com/shuLhan/go-bindata/...
Then run go generate under the static dir is enough.

The script is for git commited sources. The script under script/make_release.sh is the one I use.

if using version 1.1.0
i got error
fatal: not a git repository (or any of the parent directories): .git ~/simple-torrent-1.1.0/static ~/simple-torrent-1.1.0/static fatal: not a git repository (or any of the parent directories): .git Warning: static change and not commited

i need copy script from version 1.0.25
now is working.

from simple-torrent.

boypt avatar boypt commented on July 1, 2024

yep, I changed the script on recent version.
The script is calling git command to get the git version from the source, if your source is downloaded instead of git clone , that would be the error message.

but what's actually works is not about git, is the go-bindata command, runinng go generate under static dir would do all the job.

from simple-torrent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.