chore: Update Mac OS setup guide (#1512)

This commit is contained in:
Pranav Raj S
2020-12-15 01:17:17 +05:30
committed by GitHub
parent edb09d5a9c
commit f0fd93bfea
3 changed files with 47 additions and 8 deletions

View File

@@ -28,11 +28,8 @@ brew install git
### Install RVM
You need software-properties-common installed in order to add PPA repositories.
```bash
curl -L https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
```
### Install Ruby
@@ -44,6 +41,7 @@ If you are using `rvm` :
```bash
rvm install ruby-2.7.2
rvm use 2.7.2
source ~/.rvm/scripts/rvm
```
If you are using `rbenv` to manage ruby versions do :
@@ -72,7 +70,13 @@ brew install yarn
### Install postgres
The database used in Chatwoot is PostgreSQL. Use the following commands to install postgres.
The database used in Chatwoot is PostgreSQL.
1) Install PostgresApp (https://postgresapp.com). This is easiest way to get started with PostgreSQL on mac.
or
2) Use the following commands to install postgres.
```bash
brew install postgresql
@@ -92,10 +96,10 @@ Chatwoot uses Redis server in agent assignments and reporting. To install `redis
brew install redis
```
Enable Redis to start on system boot.
Start the redis service.
```bash
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
brew services start redis
```
### Install imagemagick