Skip to content

Commit 90f9c4d

Browse files
authored
Sg/register package (#134)
* update readme for registration * clean up readme * fix readme spacing
1 parent aecb9c1 commit 90f9c4d

File tree

2 files changed

+11
-21
lines changed

2 files changed

+11
-21
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ CairoMakie = "0.12, 0.13"
3434
CoordinateTransformations = "0.6"
3535
Extents = "0.1"
3636
GeoInterfaceMakie = "0.1"
37-
GeometryOps = "0.1.31"
37+
GeometryOps = "0.1.31 - 0.1"
3838
Interpolations = "0.14, 0.15, 0.16"
3939
JLD2 = "0.4, 0.5, 0.6"
4040
Measures = "0.3"
@@ -44,7 +44,7 @@ SplitApplyCombine = "1"
4444
StaticArrays = "1"
4545
Statistics = "1"
4646
StructArrays = "0.6, 0.7"
47-
julia = "1.9"
47+
julia = "1.10"
4848

4949
[extras]
5050
LibGEOS = "a90b1aa1-3769-5649-ba7e-abc5a9d163eb"

README.md

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -21,31 +21,21 @@ To learn how to build and run simulations, [check out our documentation and tuto
2121

2222
## _Installation_
2323

24-
Subzero is not yet a [registered Julia package](https://julialang.org/packages/). So to install it,
24+
Subzero is a [registered Julia package](https://julialang.org/packages/). So to install it,
2525

26-
1. [Download Julia](https://julialang.org/downloads/) (version 1.9 or later). We recommend using [`JuliaUp`](https://github.com/JuliaLang/juliaup) so it is easy to change versions in the future.
26+
1. [Download Julia](https://julialang.org/downloads/) (version 1.10 or later). We recommend using [`JuliaUp`](https://github.com/JuliaLang/juliaup) so it is easy to change versions in the future.
2727

28-
2. As `Subzero.jl` is not yet registered as an official package, you will need to install it from GitHub. To do this, you will need a SSH key on your computer and stored in GitHub. GitHub provides documentation for the needed steps:
29-
- [Checking for existing SSH keys](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/checking-for-existing-ssh-keys)
30-
- [Generating a new key](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent)
31-
- [Adding a new key](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account)
32-
- [Testing your connection](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection).
33-
34-
3. Once you have established your SSH connection from within terminal, you now need to update your Julia `startup.jl` file. This is within the `.julia/config` folder. If you don't have a `.config` folder, please make one using `mkdir config` run on terminal within your `.julia` folder. If you don't have a `startup.jl` file you can make this using `touch startup.jl` within the `config` folder. Then, using a text editor (such as vim), add the following line to your `startup.jl` file:
35-
36-
`ENV["JULIA_PKG_USE_CLI_GIT"]=true`
37-
38-
We need this as Julia's SSH library can't read the types of SSH keys that GitHub now requires. This will have Julia use your local command line interface (CLI) version of Git. This only works with Julia 1.7 and higher.
39-
40-
4. Launch Julia and enter into the package manager mode by typing `]` in the terminal.
41-
42-
5. Run the following
28+
2. Launch Julia and type
4329

4430
```julia
45-
pkg> add "[email protected]:Caltech-OCTO/Subzero.jl.git"
31+
julia> using Pkg
32+
33+
julia> Pkg.add("Subzero")
4634
```
4735

48-
This will add the package to your package manager. After that you return to the REPL mode by hitting the backspace and you are ready to use Subzero!
36+
This installs the latest version that's _compatible with your current environment_.
37+
38+
3. You are ready to use Subzero! Get started with:
4939

5040
```julia
5141
julia> using Subzero

0 commit comments

Comments
 (0)