GithubHelp home page GithubHelp logo

inertiarobotics / inertia-rpi Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 212.49 MB

License: MIT License

Dockerfile 0.05% Shell 2.04% Batchfile 1.79% PowerShell 0.88% CSS 2.30% HTML 36.52% XSLT 0.28% FreeMarker 4.56% JavaScript 51.58%

inertia-rpi's People

Contributors

uadrive1 avatar

Watchers

 avatar

inertia-rpi's Issues

Implement realm import/export

Once you have setup the realm online, There are two ways to export the JSON

1 Using this script inside the docker container while the Keycloak is running

/usr/local/bin/keycloak-13.0.0/bin/standalone.sh \
-Dkeycloak.migration.action=export \
-Dkeycloak.migration.provider=singleFile \
-Dkeycloak.migration.realmName=inertia-rpi-realm \
-Dkeycloak.migration.file=/tmp/inertia-rpi-realm.json
-Djboss.socket.binding.port-offset=99

Then use a sudo docker cp command to copy the file from inside the container to host.

2 On the realm setup page on Keycloak admin portal, there is an option to download.
Turn ON every option there. I think its a partial download, because the user details did not come through.

Option 1 is preferred.

https://stackoverflow.com/questions/60766292/how-to-get-keycloak-to-export-realm-users-and-then-exit
https://lists.jboss.org/pipermail/keycloak-user/2015-October/003210.html

design directory structure for rest-api-node app

Component Layer:

rest-api-node
-device
-remote
-provision
-certificate

Directory structure for each component:
src - api, config , dispatchers, interfaces, jobs, loaders, models, services, subscribers, types/express, app.ts
tests - services, sample.test.ts
.editorconfig
.env.example
.eslintignore
.eslintrc.js
.gitignore
.prettierrc.json
LICENSE
README.md
jest.config.js
nodemon.json
package-lock.json
package.json
tsconfig.json

/src/api - middlewares, routes, index.ts

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.