Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
kiska b1786a55e1 More stuff před 3 roky
dist More stuff před 3 roky
src Fix GitHub banner links to canonical format před 3 roky
.bowerrc Improved README před 5 roky
.gitignore Initial před 7 roky
Gruntfile.js bump dependencies před 3 roky
LICENSE Initial před 7 roky
README.md ISSUE-203 před 5 roky
bindata.go Initial před 7 roky
bindata_gen.go Stuff před 3 roky
bower.json Update go bindata před 3 roky
go.mod Stuff před 3 roky
go.sum Stuff před 3 roky
package-lock.json Update go bindata před 3 roky
package.json Update go bindata před 3 roky

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.