Opla.ai Frontend using Node es7 react and redux.
First of all, make sure you have Node 8.x and Yarn installed.
This project requires a backend application to start. At the moment, you have to
install this backend application by yourself.
In the following, we assume this backend application runs locally and is
available at: 127.0.0.1:8081
.
-
Install the (dev) dependencies:
$ yarn install
-
Run the configuration tool:
$ bin/opla init
-
Start the dev environment:
$ yarn dev
This application should be available at: http://127.0.0.1:8080/.
By default, on docker run, the app will run opla/bin init to try to connect to the backend and register a new app. Please populate OPLA_API_DOMAIN
and OPLA_FRONT_CLIENT_NAME
env variables for the frontend to be able to register the backend app properly.
You have 2 options:
1. pass ENV variables to override config properties one by one. See Dockerfile ENV
statement for available environment variables.
2. override default.json
by mounting your own /src/config/config.json
file. You can create such a file for a specific backend instance, by running bin/opla init
locally, provided that you can connect to that backend.
Helm charts get published at https://opla.github.io/front You can fetch charts this way :
helm repo add https://opla.github.io/front
helm repo update
helm fetch opla-front/opla-front
Please, see the CONTRIBUTING.md file.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See CODE_OF_CONDUCT.md file.
opla-front is released under the GPL v2.0+ License. See the bundled LICENSE file for details.