Go to file
Andrea Spacca c13cb2fef0 Improved README 2018-06-26 19:09:43 +02:00
src GA/UserVoice opt-in 2018-06-26 18:19:17 +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 Initial 2017-03-21 15:55:38 +01:00
LICENSE Initial 2017-03-21 15:55:38 +01:00
README.md Improved README 2018-06-26 19:09:43 +02:00
bindata.go Initial 2017-03-21 15:55:38 +01:00
bindata_gen.go GA/UserVoice opt-in 2018-06-26 18:19:17 +02:00
bower.json Initial 2017-03-21 15:55:38 +01:00
package.json Initial 2017-03-21 15:55:38 +01:00

README.md

transfer.sh-web

This repository contains the web frontend for transfer.sh.

How to use it

You must specify web-pathdirectory, 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 genereted.