24 lines
510 B
Markdown
24 lines
510 B
Markdown
# keycloak-reg-ui
|
|
|
|
A very simple React-based self-registration UI. Uses https://git.vdb.to/cerc-io/keycloak-reg-api as the backend.
|
|
|
|
## Building
|
|
|
|
### Local
|
|
```
|
|
$ yarn install
|
|
|
|
# Edit `src/App.js` and `src/components/pages/RegisterPage.js` to set
|
|
# `basePath` and `apiUrl` and then run:
|
|
$ yarn build
|
|
$ serve -s build
|
|
```
|
|
|
|
### Docker
|
|
|
|
```
|
|
$ docker build -t cerc/keycloak-reg-ui:local .
|
|
|
|
# Edit config.yml for your API settings and then run:
|
|
$ docker run -d -p 3000:80 -v .:/config cerc/keycloak-reg-ui:local
|
|
``` |