1
0
Fork 0

Add readme.

This commit is contained in:
Kitteh 2021-04-15 13:09:03 +01:00
parent 5915f03f07
commit a3ab8ba7cd
3 changed files with 18 additions and 4 deletions

View file

@ -5,10 +5,7 @@
"css-loader": "^5.2.1", "css-loader": "^5.2.1",
"date-fns": "^2.21.1", "date-fns": "^2.21.1",
"html-webpack-plugin": "^5.3.1", "html-webpack-plugin": "^5.3.1",
"less": "^4.1.1",
"less-loader": "^8.1.0",
"mini-css-extract-plugin": "^1.4.1", "mini-css-extract-plugin": "^1.4.1",
"moment": "^2.29.1",
"node-sass": "^5.0.0", "node-sass": "^5.0.0",
"prismjs": "^1.23.0", "prismjs": "^1.23.0",
"sass-loader": "^11.0.1", "sass-loader": "^11.0.1",

17
readme.md Normal file
View file

@ -0,0 +1,17 @@
# VaultUI
This is a very simple UI for working with secrets in [Hashicorp Vault](https://www.hashicorp.com/products/vault)
## How to build:
```
npm install --save-dev
npx webpack
```
The resulting built files will be in `dist/`
## How to run in development:
Use whatever browser you want, I personally test on latest Microsoft Edge Dev build.
```
npm install --save-dev
WEBPACK_MODE=development BROWSER=google-chrome npx webpack serve
```

View file

@ -11,7 +11,7 @@ module.exports = {
}, },
plugins: [new MiniCssExtractPlugin(), new HtmlWebpackPlugin({ title: "VaultUI" })], plugins: [new MiniCssExtractPlugin(), new HtmlWebpackPlugin({ title: "VaultUI" })],
devServer: { devServer: {
open: 'microsoft-edge-dev', open: process.env.BROWSER || "microsoft-edge-dev",
}, },
resolve: { resolve: {
modules: ['node_modules'], modules: ['node_modules'],