Comments (6)
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.
See the script under static/generate.sh , compress static files into a go module.
from simple-torrent.
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.
Install go-bindata command:
go get -v -u github.com/shuLhan/go-bindata/...
Then rungo 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.
Install go-bindata command:
go get -v -u github.com/shuLhan/go-bindata/...
Then rungo 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.
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)
- unsupported OSARCH: aarch64 HOT 1
- Move Completed Downloads
- Scalingo Error HOT 3
- Local peer discovery
- Feature: Force file check
- Installing problem HOT 1
- how to disable protocol handler?
- no required module provides package
- Upload and download not limited to configured rates
- Heroku deployment
- cloud-torrent overwrites config file on shutdown
- Completely uninstall simple-torrent from linux
- Provide arm32 binaries
- Stopped torrents restart after server reboot
- Does this use TOR? HOT 1
- Update Nginx config in the wiki
- UI crashes on mobile browsers
- Is this project active? HOT 2
- Files that are stopped are still downloaded
- Is this project dead?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simple-torrent.