Go to file
Andrea Spacca 8b8af59a0f deletion token in ui, other minor fixes 2021-07-17 10:12:59 +02:00
src deletion token in ui, other minor fixes 2021-07-17 10:12:59 +02:00
.bowerrc Improved README 2018-06-26 19:09:43 +02:00
.gitignore Initial 2017-03-21 15:55:38 +01:00
Gruntfile.js deletion token in ui, other minor fixes 2021-07-17 10:12:59 +02:00
LICENSE Initial 2017-03-21 15:55:38 +01:00
README.md ISSUE-203 2019-03-30 12:35:24 +01:00
bindata.go Initial 2017-03-21 15:55:38 +01:00
bindata_gen.go deletion token in ui, other minor fixes 2021-07-17 10:12:59 +02:00
bower.json deletion token in ui, other minor fixes 2021-07-17 10:12:59 +02:00
go.mod deletion token in ui, other minor fixes 2021-07-17 10:12:59 +02:00
go.sum deletion token in ui, other minor fixes 2021-07-17 10:12:59 +02:00
package-lock.json deletion token in ui, other minor fixes 2021-07-17 10:12:59 +02:00
package.json Update go bindata 2021-01-30 19:08:35 +01:00

README.md

transfer.sh-web

This repository contains the web frontend for transfer.sh.

How to use it

You must specify web-path directory, pointing to dist generated folder (Grunt & bindata)

Sample :

docker run -d -v /folder:/uploads -v /folder/dist:/webapp --publish 5000:8080 dutchcoders/transfer.sh:latest --provider local --basedir /uploads --web-path /webapp/

Requirement

You must install first :

  • Grunt
  • Bower
  • Go & go-bindata (go get -u github.com/shuLhan/go-bindata/...)

Initialization

NPM

npm install

Bower

Please, specify to Bower where to install its packets via .bowerrc, to the src/bower_components directory

bower install

Build

$ grunt build
$ go generate .

Verify

You should see a dist directory, where all the basic .html are generated.