Fix grammatical issues in Ubuntu Environment Setup (#1070)

This commit is contained in:
Bharat Patodi
2020-07-20 17:43:38 +05:30
committed by GitHub
parent 440f449e24
commit 29838f9424

View File

@@ -3,7 +3,7 @@ path: "/docs/installation-guide-ubuntu"
title: "Ubuntu installation guide" title: "Ubuntu installation guide"
--- ---
Open a terminal and run the following commands Open a terminal and run the following commands:
```bash ```bash
sudo apt-get update sudo apt-get update
@@ -29,17 +29,17 @@ sudo apt-get update
sudo apt-get install rvm sudo apt-get install rvm
``` ```
Enable `Run command as a login shell` in terminal `Preferences`. Restart your computer Enable `Run command as a login shell` in terminal `Preferences`. Restart your computer.
### Install Ruby ### Install Ruby
Chatwoot APIs are built on Ruby on Rails, you need install ruby 2.7.1 Chatwoot APIs are built on Ruby on Rails. You need to install ruby 2.7.1:
```bash ```bash
rvm install ruby-2.7.1 rvm install ruby-2.7.1
``` ```
Use ruby 2.7.1 as default Use ruby 2.7.1 as default:
```bash ```bash
rvm use 2.7.1 --default rvm use 2.7.1 --default
@@ -47,7 +47,7 @@ rvm use 2.7.1 --default
### Install Node.js ### Install Node.js
Install Node.js from NodeSoure using the following commands Install Node.js from NodeSource using the following commands:
```bash ```bash
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
@@ -56,7 +56,7 @@ sudo apt-get install -y nodejs
### Install yarn ### Install yarn
We use `yarn` as package manager We use `yarn` as the package manager:
```bash ```bash
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
@@ -69,19 +69,19 @@ sudo apt-get update && sudo apt-get install yarn
### Install postgres ### Install postgres
The database used in Chatwoot is PostgreSQL. Use the following commands to install postgres. The database used in Chatwoot is PostgreSQL. Use the following commands to install postgres:
```bash ```bash
sudo apt install postgresql postgresql-contrib sudo apt install postgresql postgresql-contrib
``` ```
The installation procedure created a user account called postgres that is associated with the default Postgres role. In order to use Postgres, you can log into that account. The installation procedure creates a user account called postgres that is associated with the default Postgres role. In order to use Postgres, you can log into that account:
```bash ```bash
sudo -u postgres psql sudo -u postgres psql
``` ```
Install `libpg-dev` dependencies for ubuntu Install `libpg-dev` dependencies for ubuntu:
```bash ```bash
sudo apt-get install libpq-dev sudo apt-get install libpq-dev
@@ -89,13 +89,13 @@ sudo apt-get install libpq-dev
### Install redis-server ### Install redis-server
Chatwoot uses Redis server in agent assignments and reporting. To install `redis-server` Chatwoot uses Redis server in agent assignments and reporting. You need to install `redis-server`:
```bash ```bash
sudo apt-get install redis-server sudo apt-get install redis-server
``` ```
Enable Redis to start on system boot. Next, enable Redis to start on system boot:
```bash ```bash
sudo systemctl enable redis-server.service sudo systemctl enable redis-server.service