transfer.sh/vendor/github.com/dutchcoders/transfer.sh-web
2018-09-02 14:16:09 +02:00
..
.bowerrc Push updated transfer.sh-web in vendor 2018-09-02 14:16:09 +02:00
.gitignore Major rewrite 2017-03-22 18:09:21 +01:00
bindata.go Major rewrite 2017-03-22 18:09:21 +01:00
bindata_gen.go Push updated transfer.sh-web in vendor 2018-09-02 14:16:09 +02:00
bower.json Push updated transfer.sh-web in vendor 2018-09-02 14:16:09 +02:00
Gruntfile.js Push updated transfer.sh-web in vendor 2018-09-02 14:16:09 +02:00
LICENSE Major rewrite 2017-03-22 18:09:21 +01:00
package.json Major rewrite 2017-03-22 18:09:21 +01:00
README.md Push updated transfer.sh-web in vendor 2018-09-02 14:16:09 +02:00

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.