Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added .bashrc and in troubleshoot added @@vitess_version #668

Merged
merged 1 commit into from
Jan 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ resources/
# Link checker
bin/
tmp/
.idea
.idea

# File generated when running npm install
package-lock.json
13 changes: 11 additions & 2 deletions content/en/docs/contributing/build-on-centos.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,16 @@ sudo tar -C /usr/local -xzf go1.15.6.linux-amd64.tar.gz

Make sure to add go to your bashrc:
```
# Additions to ~/.bashrc file

# Add go PATH
export PATH=$PATH:/usr/local/go/bin

# Add GOROOT
export GOROOT=/usr/local/go/

# Add GOPATH
export GOPATH=/home/<user>/go
```

### Packages from CentOS repos
Expand Down Expand Up @@ -69,8 +78,8 @@ Set environment variables that Vitess will require. It is recommended to put the
```
# Additions to ~/.bashrc file

# Add go PATH
export PATH=$PATH:/usr/local/go/bin
#VTDATAROOT
export VTDATAROOT=/tmp/vtdataroot

# Vitess binaries
export PATH=~/vitess/bin:${PATH}
Expand Down
13 changes: 11 additions & 2 deletions content/en/docs/contributing/build-on-ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,16 @@ sudo tar -C /usr/local -xzf go1.15.6.linux-amd64.tar.gz

Make sure to add go to your bashrc:
```
# Additions to ~/.bashrc file

# Add go PATH
export PATH=$PATH:/usr/local/go/bin

# Add GOROOT
export GOROOT=/usr/local/go/

# Add GOPATH
export GOPATH=/home/<user>/go
```

### Packages from apt repos
Expand Down Expand Up @@ -82,8 +91,8 @@ Set environment variables that Vitess will require. It is recommended to put the
```
# Additions to ~/.bashrc file

# Add go PATH
export PATH=$PATH:/usr/local/go/bin
#VTDATAROOT
export VTDATAROOT=/tmp/vtdataroot

# Vitess binaries
export PATH=~/vitess/bin:${PATH}
Expand Down
5 changes: 5 additions & 0 deletions content/en/docs/troubleshoot/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,8 @@ When an alert fires, you have the following sources of information to perform yo
* Graphs
* Diagnostic URLs
* Log files

### Find Vitess build running
```
select @@vitess_version;
```