Commit 8de8031c authored by Vladimir Kiryakov's avatar Vladimir Kiryakov
Browse files

documentation

parent 646b1efe
REACT_APP_DEBUG=true
REACT_APP_DEBUG=false
REACT_APP_MQTT_TOPIC=/gateway/localhost.localdomain/sensors
REACT_APP_MQTT_URL=ws://broker.mqttdashboard.com:8000/mqtt
\ No newline at end of file
### Deploy to AWS
1. [Configure](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html) AWS cli sdk.
2. Install [NodeJs](https://nodejs.org/en/) and [Yarn](https://yarnpkg.com/en/docs/install)
2. Install [NodeJs >= 8](https://nodejs.org/en/) and [Yarn >= 1](https://yarnpkg.com/en/docs/install)
3. Run in console.
```bash
yarn install
yarn run deploy --key <Name of an existing EC2 KeyPair>
```
4. Wait for CloudFormation Stack creation.
4. Wait for CloudFormation Stack creation. Edit env variables to change default broker before build web.
```bash
yarn run publish
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment