Updated for Transfer.sh v1.3.0

This commit is contained in:
2021-11-18 21:39:00 +01:00
parent ca20cdcfd9
commit e072470ccf
30 changed files with 11243 additions and 1128 deletions

View File

@@ -2,6 +2,7 @@
This repository contains the web frontend for [transfer.sh](https://github.com/dutchcoders/transfer.sh/) modified by Brammp.
For Transfer.sh v1.3.0 (fork of transfer.sh-web commit: b55eddc4e6574ae9dd406b2c9024fd7a2be47eac)
## Atatch to transfer.sh
### Pre-build
@@ -13,7 +14,7 @@ docker run -d -v /folder:/uploads -v /root/<extactionfolder>:/webapp --publish 5
```
Go Prebuild Sample :
```
./transfersh-v1.1.7-linux-amd64 --provider=local --listener :8080 --temp-path=/tmp/ --basedir=/tmp/ --web-path /root/<extactionfolder>
./transfersh-<version>-linux-amd64 --provider=local --listener :8080 --temp-path=/tmp/ --basedir=/tmp/ --web-path /root/<extactionfolder>
```
### Manual build
@@ -35,6 +36,14 @@ Go Prebuild Sample :
* Bower
* Go & go-bindata (go get -u github.com/shuLhan/go-bindata/...)
### Setup enviroment on debian
```
apt install -y git curl nodejs npm golang
npm install -g npm-run-all grunt bower
go get -u github.com/shuLhan/go-bindata/...
export PATH=$PATH:$(go env GOPATH)/bin
```
### Initialization
```