Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix dictionary for digitalocean guide #25936

Merged
merged 1 commit into from
Jul 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ CDN
CDN-backed
CDNs
Cereda
Certbot
CFP
Chakra
changelog
Expand Down Expand Up @@ -985,6 +986,7 @@ hypermodern
i10n
i18n
i18next
IaaS
IaC
IAM
iam_timsmith
Expand Down Expand Up @@ -1325,6 +1327,7 @@ nodeId
nodeID
NodeID
nodemailer
Node.js
NodeSchool
nodesPromise
Nolen
Expand Down Expand Up @@ -1383,6 +1386,7 @@ OpenAI
OpenAPI
OpenCollective
OpenGraph
OpenSSH
opentracing
OpenTracing
operandi
Expand Down Expand Up @@ -1471,6 +1475,7 @@ PostHog
postprocessing
Poumián
PowerShell
PPA
pragma
pragmas
PRDs
Expand Down Expand Up @@ -2064,6 +2069,7 @@ voilà
Vojtech
Vojtěch
VPs
VPS
VS2015
VS201x
VSCode
Expand Down
14 changes: 7 additions & 7 deletions docs/docs/deploying-to-digitalocean-droplet.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@ A Droplet can be spun up in less than a minute for as little as \$5/month.
## Prerequisites

- A Gatsby site living in a Git repository (GitHub, GitLab, or any Git cloud)
- A [DigitalOcean Droplet](https://www.digitalocean.com/products/droplets/) with a non-root user configured with sudo group ([example: Ubuntu 18.04](https://www.digitalocean.com/community/tutorials/how-to-create-a-new-sudo-enabled-user-on-ubuntu-18-04-quickstart))
- A [DigitalOcean Droplet](https://www.digitalocean.com/products/droplets/) with a non-root user configured with `sudo` group ([example: Ubuntu 18.04](https://www.digitalocean.com/community/tutorials/how-to-create-a-new-sudo-enabled-user-on-ubuntu-18-04-quickstart))
- A custom domain name for your Gatsby site to help with configuring HTTPS

## How to deploy your Gatsby site to DigitalOcean

### Install NodeJS, NPM and Gatsby-CLI onto your droplet
### Install Node, npm and Gatsby-CLI onto your droplet

Follow these instructions for installs on an Ubuntu droplet.

1. Log in to your droplet as a non-root user.

2. Install NodeJS
2. Install Node
Copy link
Contributor

@muescha muescha Jul 22, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should not be Node.js here and in the header?


```bash
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install node
```

3. Install npm
Expand Down Expand Up @@ -69,7 +69,7 @@ Follow these instructions for installs on an Ubuntu droplet.

### Clone your repository to the droplet

The next step is to clone the repository containing your Gatsby app (Replace `<your-github-repo-site>` with your Github repository link)
The next step is to clone the repository containing your Gatsby app (Replace `<your-github-repo-site>` with your GitHub repository link)

```bash
git clone <your-github-repo-site>
Expand Down Expand Up @@ -227,7 +227,7 @@ Follow the below steps to configure your site with a free SSL/TLS certificate fr
`Note`: You will be prompted to choose the option to redirect HTTP requests to HTTPS, which you may choose on your needs.
(It is recommended to choose to redirect HTTP to HTTPS)

5. Restart the nginx service.
5. Restart the Nginx service.

```bash
sudo systemctl restart nginx
Expand All @@ -247,7 +247,7 @@ Congratulations! You've deployed your Gatsby App on a DigitalOcean droplet along

There's a lot more to learn about DigitalOcean's Droplets, Ubuntu configurations, and Nginx. Below are some links which could be useful in achieving the prerequisites of this post:

- [Microblog - Create a new non-root user with sudo privileges on Ubuntu-based DigitalOcean Droplet configured with SSH](https://dev.to/mistryvatsal/microblog-create-a-new-non-root-user-with-sudo-privileges-on-ubuntu-based-digitalocean-droplet-configured-with-ssh-1l3)
- [Microblog - Create a new non-root user with `sudo` privileges on Ubuntu-based DigitalOcean Droplet configured with SSH](https://dev.to/mistryvatsal/microblog-create-a-new-non-root-user-with-sudo-privileges-on-ubuntu-based-digitalocean-droplet-configured-with-ssh-1l3)
- [Official DigitalOcean Docs](https://www.digitalocean.com/docs/)
- [Official Nginx Docs](http://nginx.org/en/docs/)
- [Configuring HTTPS Servers with Nginx](http://nginx.org/en/docs/http/configuring_https_servers.html)
Expand Down