Frontend client for Oberon chat built in React and Redux
The Oberon chat client requires the following packages to be installed:
- Node >= 6
Then install global packages:
npm --global install node-sass yarn
Install local packages:
yarn install
To start the Oberon chat client:
-
Create a
.env
file. Use the example file as a starting point:cp .env.example .env
. -
(Optional) Update values in
.env
to match the development environment. -
Start the client server
yarn start
. -
To ensure client authentication works correctly, configure a DNS service to route traffic from
localhost:4030
tochat.dev
. We recommend using puma-dev.
Note: the client can also be run as a desktop application using yarn electron
.
To run the desktop application use yarn electron
.
To run the portable development server run PORT=7030 yarn portable
.
Note: In order to run the server a production build must be generated using yarn build
.