Skip to content

Add MacOS install documentation#3

Open
Morgandri1 wants to merge 5 commits into
InjectiveFoundation:masterfrom
Morgandri1:master
Open

Add MacOS install documentation#3
Morgandri1 wants to merge 5 commits into
InjectiveFoundation:masterfrom
Morgandri1:master

Conversation

@Morgandri1

Copy link
Copy Markdown

This PR adds full documentation about how to install Injectived on MacOS (apple silicon and intel) for uploading contracts to testnet as well as any other uses of injectived.

Fixes:

  • add MacOS install documentation to Readme
  • give instructions for .zshrc updates

@gorgos gorgos left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thanks for the PR. Please start sentences with capital letter, as well as use single ` for the path

Comment thread README.md Outdated
Comment thread README.md Outdated
make install
```

2. update ``.zshrc`` - Add these lines to your ``~/.zshrc`` file:

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

or .bashrc for people with bash

Comment thread README.md Outdated
export GOPRIVATE=github.com/InjectiveLabs/injective-core
```

3. refresh your ``~/.zshrc`` file

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

again or bashrc

@Morgandri1

Copy link
Copy Markdown
Author

@gorgos take a look now. I could also add my install script which detects bash vs. zsh.

@gorgos gorgos left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

okay almost good now

Comment thread README.md Outdated
1. Build from source
```bash
git clone https://github.com/OpenDeFiFoundation/injective-core.git
git clone https://github.com/InjectiveLabs/injective-core.git

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No please change back. I meant just removing the other line

Comment thread README.md Outdated
@Morgandri1

Copy link
Copy Markdown
Author

Should i add my MacOS install script?

Comment thread README.md Outdated
```bash
export GOPATH=$HOME/go
export PATH=$PATH:$(go env GOPATH)/bin
export GOPRIVATE=github.com/OpenDeFiFoundation/injective-core

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

please remove this line

@Morgandri1 Morgandri1 left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Removed GOPRIVATE line

@Morgandri1 Morgandri1 requested a review from gorgos January 13, 2024 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants