-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5bd5372
commit 80d2406
Showing
1 changed file
with
0 additions
and
70 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -283,73 +283,3 @@ Presentations are also available at [slideshare.net](https://www.slideshare.net/ | |
## Extra information | ||
|
||
For more information, visit [monty.gitlab.io](http://monty.gitlab.io), [http://smarttensors.com](http://smarttensors.com) [smarttensors.github.io],(https://smarttensors.github.io), and [tensors.lanl.gov](http://tensors.lanl.gov). | ||
|
||
## Installation behind a firewall | ||
------------------------------ | ||
|
||
Julia uses git for package management. | ||
|
||
Julia uses git and curl to install the necessary packages. | ||
|
||
It is important to set proxies, if needed: | ||
|
||
```bash | ||
export ftp_proxy=http://proxyout.<your_site>:8080 | ||
export rsync_proxy=http://proxyout.<your_site>:8080 | ||
export http_proxy=http://proxyout.<your_site>:8080 | ||
export https_proxy=http://proxyout.<your_site>:8080 | ||
export no_proxy=.<your_site> | ||
``` | ||
|
||
For example, if you are doing this at LANL, you will need to execute the | ||
following lines in your bash command-line environment: | ||
|
||
```bash | ||
export ftp_proxy=http://proxyout.lanl.gov:8080 | ||
export rsync_proxy=http://proxyout.lanl.gov:8080 | ||
export http_proxy=http://proxyout.lanl.gov:8080 | ||
export https_proxy=http://proxyout.lanl.gov:8080 | ||
export no_proxy=.lanl.gov | ||
``` | ||
|
||
Proxies can also be set up directly in the Julia REPL: | ||
|
||
```julia | ||
ENV["ftp_proxy"] = "http://proxyout.lanl.gov:8080" | ||
ENV["rsync_proxy"] = "http://proxyout.lanl.gov:8080" | ||
ENV["http_proxy"] = "http://proxyout.lanl.gov:8080" | ||
ENV["https_proxy"] = "http://proxyout.lanl.gov:8080" | ||
ENV["no_proxy"] = ".lanl.gov" | ||
``` | ||
|
||
To disable proxies, type these commands in the Julia REPL: | ||
|
||
```julia | ||
ENV["ftp_proxy"] = "" | ||
ENV["rsync_proxy"] = "" | ||
ENV["http_proxy"] = "" | ||
ENV["https_proxy"] = "" | ||
ENV["no_proxy"] = "" | ||
``` | ||
|
||
In some situations, you may need to add the `.gitconfig` file in your home directory: | ||
|
||
``` | ||
[url "[email protected]:"] | ||
insteadOf = https://github.com/ | ||
[url "[email protected]:"] | ||
insteadOf = https://gitlab.com/ | ||
[url "https://"] | ||
insteadOf = git:// | ||
[url "http://"] | ||
insteadOf = git:// | ||
``` | ||
|
||
or execute: | ||
|
||
``` | ||
git config --global url."https://".insteadOf git:// | ||
git config --global url."http://".insteadOf git:// | ||
git config --global url."[email protected]:".insteadOf https://gitlab.com/ | ||
git config --global url."[email protected]:".insteadOf https://github.com/ | ||
``` |