You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to the Earth Analytics Environment Repository! Here you will find a conda envt that can be installed on your computer using a `.yaml` file. You will also find a docker image that can be used to actually run the environment in a containerized environment.
10
+
Welcome to the Earth Analytics `Python`Environment Repository! Here you will find a conda environment that can be installed on your computer using a `.yaml` file. You will also find a docker image that can be used to actually run the environment in a containerized environment.
11
11
12
12
13
13
## Contributors:
@@ -23,27 +23,40 @@ Welcome to the Earth Analytics Environment Repository! Here you will find a cond
23
23
24
24
### 1. Install the Earth Lab Conda Environment on your Local Computer.
25
25
26
-
To begin, install git and conda for Python 3.x (we suggest 3.6).
26
+
To begin, install `git` and `conda` for Python 3.x (we suggest 3.6).
We recommend installing everything using the with `conda-forge` channel.
39
+
40
+
### Quick Start: Setup Your Environment
41
+
42
+
The tutorial above will provide you with more detailed setup instructions.
43
+
But here are the cliff notes:
44
+
45
+
To begin, install the environment using:
40
46
41
47
`conda env create -f environment.yml`
42
48
43
-
* Note that it takes a bit of time to run this setup
44
-
* Also note that for the code above to work, you need to be in the directory where the `environment.yml` file lives (ex: cd earth-analytics-python-env).
49
+
This will take a bit of time to run.
50
+
51
+
* Also note that for the code above to work, you need to be in the directory where the `environment.yml` file lives so CD to that directory first
52
+
53
+
`$ cd earth-analytics-python-env`
54
+
55
+
56
+
### Update Your EA Environment from the YAML File
57
+
58
+
You can update your environment at any time using:
45
59
46
-
To update this environment from a yaml file use:
47
60
`conda env update -f environment.yml`
48
61
49
62
To manage your conda environments, use the following commands:
@@ -58,20 +71,6 @@ To manage your conda environments, use the following commands:
58
71
conda activate earth-analytics-python
59
72
```
60
73
61
-
[Conda versions prior to 4.6:](https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html)
62
-
63
-
On Mac or Linux:
64
-
65
-
```
66
-
source activate earth-analytics-python
67
-
```
68
-
69
-
On Windows:
70
-
71
-
```
72
-
activate earth-analytics-python
73
-
```
74
-
75
74
The environment name is `earth-analytics-python` as
76
75
defined in the `environment.yml` file.
77
76
@@ -111,19 +110,6 @@ into your browser to run jupyter with the earth analytics environment installed!
111
110
If you wish to update the earth analytics environment, do the following.
112
111
113
112
1. make a **PR** with changes to master
114
-
2.**think** about your changes - don't do silly things or break things :)
115
-
3.**merge** the PR into the master branch
116
-
4. Check & wait till [Dockerhub](https://hub.docker.com/r/earthlab/earth-analytics-python-env/tags/) has built the image for the merging of the **PR** you can see builds in progress, [here](https://hub.docker.com/r/earthlab/earth-analytics-python-env/builds/)
117
-
5. Finally, once the build is complete you can then you can update hub-ops repo with the newly tagged image.
118
-
119
-
## Important Notes
120
-
If the update the `earthpy` package, you must specify the commit number that you
121
-
wish to build `earthpy` against. This will ensure that the docker image
122
-
automagically rebuilds using the latest version of `earthpy`
123
-
124
-
like this: `- git+https://github.com/earthlab/earthpy.git@283683affac9e46b1690c7913ebd2621c82ba43a`
125
-
126
-
This PR should kick off a rebuild of the docker image. But that docker image will
127
-
not be usable until it's built off of the master branch.
113
+
1. An code admin will **merge** the PR into the master branch
114
+
1. Check & wait till [Dockerhub](https://hub.docker.com/r/earthlab/earth-analytics-python-env/tags/) has built the image for the merging of the **PR** you can see builds in progress, [here](https://hub.docker.com/r/earthlab/earth-analytics-python-env/builds/)
128
115
129
-
NOTE 2: The DockerHub build actually takes forever and ever. So it's best to check out the build status rather than assuming it's built.
0 commit comments