Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
kiska b1786a55e1 More stuff há 3 anos
dist More stuff há 3 anos
src Fix GitHub banner links to canonical format há 3 anos
.bowerrc Improved README há 5 anos
.gitignore Initial há 7 anos
Gruntfile.js bump dependencies há 3 anos
LICENSE Initial há 7 anos
README.md ISSUE-203 há 5 anos
bindata.go Initial há 7 anos
bindata_gen.go Stuff há 3 anos
bower.json Update go bindata há 3 anos
go.mod Stuff há 3 anos
go.sum Stuff há 3 anos
package-lock.json Update go bindata há 3 anos
package.json Update go bindata há 3 anos

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.