The ES-Mgmt-UI is under heavy development. If you are interested you can install it and explore it of your own. More information is provided later when we have a first working version.
React + Redux + Semantic UI Frontend
Based on wmonk/create-react-app-typescript but it's ejected for customization.
This application uses semantic ui themes. Take a look at the semantic
folder.
Note: We have to copy the themes from the nodes_modules package semantic-ui
to semantic
manually after updates to get the latest assets.
After you have copied these sources to your project you may want to change some default values. This is a list of files which contains default values.
app.env.dist
: urlconfig/webpack.config.dev.js
: publicPath
and publicUrl
settingsconfig/webpack.config.prod.js
: URL pattern for service workerconfig/webpackDevServer.config.js
: public
and allowedHosts
settingspackage.json
: change namepublic/index.html
: change titlepublic/manifest.json
: change namesrc/api/ConfiguredAxios.ts
: base API urlsrc/notify.tsx
: change logosrc/reducer.ts
: add your reducerssrc/registerServiceWorker.ts
: notification textWe have a two stage build.
All assets are put to
src/theme
folder and referenced via TS files. The webpack loader does the rest.
index.ts
file and compiled to src/theme/semantic
semantic
folder you have to compile the semantic theme and after that the react app.You have to manually install the dependencies and to compile the semantic ui theme.
docker run --rm --env-file=app.env.dist -i -v $(pwd):/app sandrokeil/typescript yarn install
docker run --rm --env-file=app.env.dist -i -p 4000 -p 3000 -v $(pwd):/app sandrokeil/typescript yarn run semantic
Now you can start the development server and open http://localhost:3000/ in your favourite browser.
$ docker run --rm --env-file=app.env.dist -i -p "4000:4000" -p "3000:3000" -v $(pwd):/app sandrokeil/typescript yarn start
docker run --rm --env-file=app.env.dist -i -v $(pwd):/app sandrokeil/typescript yarn test
docker run --rm --env-file=app.env.dist -i -v $(pwd):/app sandrokeil/typescript yarn run build