在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:Caiyeon/goldfish开源软件地址:https://github.com/Caiyeon/goldfish开源编程语言:Vue 49.2%开源软件介绍:What is this?
Goldfish answers many auditing and administration questions that Vault API can't:
Deploy goldfish in production in minutes!Seriously, the instructions fit on one screen! Features
See wiki for moreMajor features:
ScreenshotsDeveloping GoldfishRunning locallyYou'll need go (v1.9), nodejs (v8.2), and npm (v5) # hashicorp vault ui
# clone goldfish
go get github.com/caiyeon/goldfish
cd $GOPATH/src/github.com/caiyeon/goldfish
# running goldfish server in -dev will spin up a local vault instance for you
go run server.go -dev
# running goldfish frontend in dev mode will allow for hot-reload of frontend files
cd frontend
sudo npm install -g cross-env
npm install
npm run dev
# a browser window/tab should open, pointing directly to goldfish Using a VMA vagrantfile is available as well You'll need Vagrant and VirtualBox. On Windows, a restart after installation is needed. # if you wish to launch goldfish in a VM:
git clone https://github.com/Caiyeon/goldfish.git
cd goldfish/vagrant
# this will take awhile
vagrant up --provision
# go to localhost:8080 on your local machine and login with token 'goldfish'
# changes to frontend .vue files will be hot-reloaded
# to force a full reload for the frontend, ssh into the machine and run
# `sudo systemctl restart goldfish_frontend.service`
# to recompile and re-run the backend, ssh into the machine and run
# `sudo systemctl restart goldfish.service` CompilingYou'll need Go(v1.9), Nodejs (v8.2.0), Npm (v5) Note that using different versions (of nodeJS, especially) will cause differences in the final binary. # download the source code
go get -d github.com/caiyeon/goldfish
cd $GOPATH/src/github.com/caiyeon/goldfish
# resetting to a tagged version is recommended
# no support will be given to arbitrary commits on the master branch
git fetch --all --tags --prune
git checkout tags/<version> # version could be, for example, v0.8.0
# compile the binary
sh build.sh DevelopmentGoldfish is in very active development. Pull requests and feature requests are welcome. Feel free to suggest new workflows by opening issues. ComponentsFrontend:
Backend:
DesignSee: Architecture Sponsored byWhy 'Goldfish'?This server should behave as a goldfish, forgetting everything immediately after a request is completed. That, and other inside-joke reasons. Credits for the goldfish icon goes to Laurel Chan |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论