No description
This repository has been archived on 2023-08-27. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
2022-06-30 12:21:58 +00:00
src Transfer bash script 2022-06-30 12:21:58 +00:00
.bowerrc Improved README 2018-06-26 19:09:43 +02:00
.gitignore Update dependencies 2022-06-27 01:11:00 +00:00
bindata.go Initial 2017-03-21 15:55:38 +01:00
bindata_gen.go Transfer bash script 2022-06-30 12:21:58 +00:00
bower.json Update dependencies 2022-06-27 01:11:00 +00:00
go.mod Update dependencies 2022-06-27 01:11:00 +00:00
go.sum Update dependencies 2022-06-27 01:11:00 +00:00
Gruntfile.js Transfer bash script 2022-06-30 12:21:58 +00:00
LICENSE Initial 2017-03-21 15:55:38 +01:00
package-lock.json Update dependencies 2022-06-27 01:11:00 +00:00
package.json Update dependencies 2022-06-27 01:11:00 +00:00
README.md Update dependencies 2022-06-27 01:11:00 +00:00

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 zenofile/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.