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

Getting started • Contributors • License
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.
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
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 .
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
Content type
Image
Digest
Size
8.8 MB
Last updated
over 6 years ago
docker pull kaisawind/filemanager