Skip to content

Commit

Permalink
chore(docs): updated readme with the actual steps to run elektra on m…
Browse files Browse the repository at this point in the history
…acos
  • Loading branch information
ArtieReus committed Nov 1, 2024
1 parent aea945b commit f781393
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 11 deletions.
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,7 @@ PLATFORMS
arm64-darwin-21
arm64-darwin-22
arm64-darwin-23
arm64-darwin-24
x86_64-darwin-21
x86_64-linux
x86_64-linux-musl
Expand Down
69 changes: 58 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,54 @@ In Greek mythology Elektra, the bright or brilliant one, is the Goddess of Cloud

### MacOS

1. Install **postgres** database (current version is 12.x).
1. Install **postgres** database (current version is 16.4).

If other versions are running, stop the service:

```bash
brew services stop postgresql@<version>
```

Install the new version:

```bash
brew install postgresql@16
brew link postgresql@16
```

Check the postgres version running:

```bash
postgres --version
```

Start the postgres service:

```bash
brew services start postgresql@16
```

Create a new user and database:

```bash
brew install postgresql@12
brew link postgresql@12
createuser -s postgres
```

2. Install **ruby** version 2.7.6
Check the data directory:

```bash
┗➜ psql -U postgres -c 'SHOW data_directory;'
data_directory
---------------------------------
/opt/homebrew/var/postgresql@16
(1 Zeile)
```

2. Install **ruby** version 3.2.5

```bash
brew install ruby-install
ruby-install ruby 2.7.6
ruby-install ruby 3.2.5
```

3. Install **chruby** to change the current ruby version (optional). This is helpful when having projects with different ruby versions.
Expand All @@ -75,17 +110,29 @@ In Greek mythology Elektra, the bright or brilliant one, is the Goddess of Cloud
https://formulae.brew.sh/formula/chruby
```

4. [Install](https://nodejs.org/en/download/package-manager/) **nodejs** if not installed. (current working version 12.22.6 but higher versions works also fine)
4. [Install](https://nodejs.org/en/download/package-manager/) **nodejs** if not installed. (current working version 20.15.1 but higher versions works also fine)

```bash
brew install nodejs@20
brew link nodejs@20
```

Check the node version running:

```bash
node --version
```

5. [Install](https://yarnpkg.com/en/docs/install) **yarn** (actual version is 1.22.22 but higher works also fine)

```bash
brew install nodejs@12
brew link nodejs@12
brew install [email protected]
```

5. [Install](https://yarnpkg.com/en/docs/install) **yarn** (actual version is 1.19.2 but higher works also fine)
Check the yarn version running:

```bash
brew install yarn@1.19.2
yarn --version
```

6. Clone this repository to your machine.
Expand All @@ -98,7 +145,7 @@ In Greek mythology Elektra, the bright or brilliant one, is the Goddess of Cloud
Cd into elektra/ directory and run:

```bash
gem install bundler -v 2.3.13 (check for the actual version)
gem install bundler -v 2.3.20 (check for the actual version)
```

8. Compile and install elektra gems
Expand Down

0 comments on commit f781393

Please sign in to comment.