-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(docs): updated readme with the actual steps to run elektra on m…
…acos
- Loading branch information
Showing
2 changed files
with
59 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|
@@ -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. | ||
|
@@ -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 | ||
|