chore: move electron to examples folder

This commit is contained in:
Joxit 2020-05-11 11:13:07 +02:00
parent da9591609e
commit 178cd5a59d
No known key found for this signature in database
GPG key ID: F526592B8E012263
9 changed files with 7 additions and 4 deletions

View file

@ -65,6 +65,8 @@ This web user interface uses [Riot](https://github.com/Riot/riot) the react-like
- This fixes the issue [#88](https://github.com/Joxit/docker-registry-ui/issues/88). More about this in [#113](https://github.com/Joxit/docker-registry-ui/issues/113).
- Why DELETE fails with 401 status code (using Basic Auth) ?
- This is caused by a bug in docker registry, I suggest to have your UI on the same domain than your registry e.g. registry.example.com/ui/. (see [#104](https://github.com/Joxit/docker-registry-ui/issues/104)).
- Can I use the docker registry ui as a standalone application (with Electron) ?
- Yes, check out the example [here](https://github.com/Joxit/docker-registry-ui/tree/master/examples/electron). (see [#129](https://github.com/Joxit/docker-registry-ui/pull/129))
Need more informations ? Try my [examples](https://github.com/Joxit/docker-registry-ui/tree/master/examples) or open an issue.
@ -237,7 +239,7 @@ auth:
## Standalone Application
If you do not want to install the docker-registry-ui on your server, you may
check out the [Electron](electron/README.md) standalone application.
check out the [Electron](examples/electron/README.md) standalone application.
## All examples
@ -250,3 +252,4 @@ check out the [Electron](electron/README.md) standalone application.
- [Unable to push image when docker-registry-ui is used as a proxy on non 80 port](https://github.com/Joxit/docker-registry-ui/tree/master/examples/issue-88) ([#88](https://github.com/Joxit/docker-registry-ui/issues/88))
- [Add custom headers bases on environment variable and/or file when the ui is used as proxy](https://github.com/Joxit/docker-registry-ui/tree/master/examples/proxy-headers) ([#89](https://github.com/Joxit/docker-registry-ui/pull/89))
- [UI showing same sha256 content digest for all tags + Delete is not working](https://github.com/Joxit/docker-registry-ui/tree/master/examples/issue-116) ([#116](https://github.com/Joxit/docker-registry-ui/issues/116))
- [Electron-based Standalone Application](https://github.com/Joxit/docker-registry-ui/tree/master/examples/electron) ([#129](https://github.com/Joxit/docker-registry-ui/pull/129))

View file

Before

Width:  |  Height:  |  Size: 450 KiB

After

Width:  |  Height:  |  Size: 450 KiB

Before After
Before After

View file

@ -10,7 +10,7 @@
"build": "parcel build -d dist/authentication -t electron --public-url ./ authentication/index.html",
"rebuild": "electron-rebuild -f -w keytar",
"package": "electron-packager --overwrite .",
"sync": "copyfiles ../dist/* ../dist/**/* out",
"sync": "copyfiles ../../dist/* ../../dist/**/* ./examples/out",
"dist": "npm run rebuild && npm run sync && npm run build && npm run package"
},
"dependencies": {

View file

@ -3,7 +3,7 @@
"version": "1.4.8",
"scripts": {
"build": "./node_modules/gulp/bin/gulp.js build",
"build:electron": "npm run build && cd electron && npm install && npm run dist"
"build:electron": "npm run build && cd examples/electron && npm install && npm run dist"
},
"repository": {
"type": "git",