Sign inSign up

kaisawind/filemanager

By kaisawind

Updated over 6 years ago

https://github.com/kaisawind/file-manager

Image
0

516

kaisawind/filemanager repository overview

GitHub release docker hub golang travis-ci workflows fossa

Getting startedContributorsLicense

Getting started

Installation
Install from code

Clone mongo-proxy from the master branch of Github repository

git clone [email protected]:kaisawind/file-manager.git

Then build the project

make build

And run the application

./bin/apiserver

The REST Api is now listening on the port 8080, to change it just set it inside the environment variable PORT, or add flag --port.

Install from docker

Clone mongo-proxy from the master branch of Github repository

git clone [email protected]:kaisawind/file-manager.git

Then build the project and build the image

make docker

And run the image

docker run --rm -p 8080:8080 -p 30030:30030 kaisawind/filemanager
Install from helm

Clone mongo-proxy from the master branch of Github repository

git clone [email protected]:kaisawind/file-manager.git

Then build the project and build the image

make docker

And deploy it by helm

helm install .
Development

Use many tools to generate go source code

# go-swagger generate swagger to go code
go get -u github.com/go-swagger/go-swagger/cmd/swagger
# grpc-go generate proto to go code
go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
go get -u github.com/golang/protobuf/protoc-gen-go
# go-bindate generate js css html to go code
go get github.com/jteeuwen/go-bindata/...
go get github.com/elazarl/go-bindata-assetfs/...

Then just run the scripts

./scripts/swagger_gen.sh
./scripts/grpc_gen.sh
./scripts/dashboard_gen.sh

How it works

Contributors

License

FOSSA Status

Tag summary

Content type

Image

Digest

Size

8.8 MB

Last updated

over 6 years ago

docker pull kaisawind/filemanager