Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cascade-examples
rigado-node-hello-world-frontend
Commits
8de8031c
Commit
8de8031c
authored
Apr 18, 2018
by
Vladimir Kiryakov
Browse files
documentation
parent
646b1efe
Changes
2
Hide whitespace changes
Inline
Side-by-side
.env
View file @
8de8031c
REACT_APP_DEBUG=
tru
e
REACT_APP_DEBUG=
fals
e
REACT_APP_MQTT_TOPIC=/gateway/localhost.localdomain/sensors
REACT_APP_MQTT_URL=ws://broker.mqttdashboard.com:8000/mqtt
\ No newline at end of file
README.md
View file @
8de8031c
### 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment