Skip to content

Commit 2872afb

Browse files
committed
chore: few slight changes and corrections.
Signed-off-by: rickyholland <[email protected]>
1 parent 0e4fef9 commit 2872afb

File tree

1 file changed

+11
-25
lines changed

1 file changed

+11
-25
lines changed

guides/deploying-to-digital-ocean-with-ansible.md

Lines changed: 11 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ This deployment guide's purpose is to provide a simple and easy guide on how to
1919

2020
## Open Commerce Services Overview
2121

22-
- Reaction GraphQL API
22+
- Reaction GraphQL API -
2323
The [Reaction GraphQL API](https://github.com/reactioncommerce/reaction) service provides the interface to the Reaction core functionality.
24-
- Storefront
24+
- Storefront -
2525
The [example storefront](https://github.com/reactioncommerce/example-storefront) service provides the public facing storefront interface that customers will interact with.
26-
- Reaction Admin
27-
The [Reaction Admin](https://github.com/reactioncommerce/reaction-admin) service is a Meteor application that provides the admin UI to manage products, orders etc.
26+
- Reaction Admin -
27+
The [Reaction Admin](https://github.com/reactioncommerce/reaction-admin) service is a Meteor application that provides the administration UI to manage products, orders etc.
2828

2929
## Getting Started
3030

@@ -33,7 +33,7 @@ is a cloud native router. Traefik will act as a reverse proxy that will route tr
3333

3434
This guide will use the following sub-domains, where `example.com` will need to substitute it with your domain:
3535

36-
| subdomain | description |
36+
| Subdomain | Description |
3737
| ---------------------- |-----------------------------------|
3838
| api.example.com | The open Commerce GraphQL API |
3939
| storefront.example.com | The example storefront |
@@ -65,27 +65,13 @@ Install Ansible using [homebrew](https://brew.sh), this guide assumes some famil
6565

6666
`brew install ansible`
6767

68-
Also install python3 to avoid deprecation warnings,
69-
70-
`brew install python3`
71-
72-
###### Prepare the Control Node
73-
74-
Ansible requires a control node, which is a computer that manages a remote host. This guide will assumes a Mac laptop/desktop as the control node.
75-
76-
Install Ansible using [homebrew](https://brew.sh), this guide assumes some familiarity with Ansible, if you need an introduction to basic concepts click [here](https://www.ansibletutorials.com).
77-
78-
`brew install ansible`
79-
80-
Also install python3 to avoid deprecation warnings,
68+
Also install python3 to avoid deprecation warnings.
8169

8270
`brew install python3`
8371

8472
## Configure the remote host to be managed with Ansible
8573

86-
On the control node(i.e. a developer's machine) create an inventory file in which `python3` is specified as the interpreter. On your machine, create a new file at named `hosts` at `/etc/ansible`.
87-
88-
Create inventory file
74+
On the control node (i.e. a developer's machine) create an inventory file in which `python3` is specified as the interpreter. On your machine, create a new file named `hosts` at `/etc/ansible` that shall act as your ansible inventory file.
8975
```
9076
touch /etc/ansible/hosts
9177
```
@@ -100,12 +86,12 @@ ansible_python_interpreter=/usr/bin/python3
10086
[web]
10187
```
10288

103-
Edit your hosts file
89+
Edit your hosts file (your local DNS hosts file, NOT your newly created Ansible hosts/inventory file)
10490
```
10591
sudo vim /etc/hosts
10692
```
10793

108-
and add an entry for the DigitalOcean droplet,
94+
and add an entry for the DigitalOcean droplet, ensuring to substitude the XXX octet's for your droplets external IP address.
10995

11096
```
11197
XXX.XXX.XXX.XXX reaction.server
@@ -135,10 +121,10 @@ that need to be updated and a description of each.
135121
| Variable | Description |
136122
| ---------------------- | ----------------------------------------------------------------------------|
137123
| do_auth_token | The Authentication token for the Digital Ocean API |
138-
| email | An email address to receive SSl certificate notifications |
124+
| email | An email address to receive SSL certificate notifications |
139125
| domain | Your registered domain |
140126

141-
For the rest of the variables, the default values should be used, DO NOT change otherwise, the playbook might fail.
127+
For the rest of the variables, the default values should be used, DO NOT change otherwise the playbook might fail.
142128

143129
## Execute the playbook
144130

0 commit comments

Comments
 (0)