Skip to content

Commit

Permalink
Update installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
lkdvos committed Dec 2, 2024
1 parent c88a0db commit 1395986
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
13 changes: 12 additions & 1 deletion templates/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,21 @@

## Installation instructions

This package resides in the `ITensor/ITensorRegistry` local registry.
In order to install, simply add that registry through your package manager.
This step is only required once.

```julia
julia> using Pkg: Pkg

julia> Pkg.add(url="https://github.com/ITensor/{PKGNAME}.jl")
julia> Pkg.Registry.add(url="https://github.com/ITensor/ITensorRegistry")
```

Then, the package can be added as usual through the package manager:


```julia
julia> Pkg.add("{PKGNAME}")
```

## Examples
Expand Down
12 changes: 11 additions & 1 deletion templates/examples/examples/README.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,21 @@

# ## Installation instructions

# This package resides in the `ITensor/ITensorRegistry` local registry.
# In order to install, simply add that registry through your package manager.
# This step is only required once.
#=
```julia
julia> using Pkg: Pkg
julia> Pkg.add(url="https://github.com/ITensor/{PKGNAME}.jl")
julia> Pkg.Registry.add(url="https://github.com/ITensor/ITensorRegistry")
```
=#
# Then, the package can be added as usual through the package manager:

#=
```julia
julia> Pkg.add("{PKGNAME}")
```
=#

Expand Down

0 comments on commit 1395986

Please sign in to comment.