Try this:
Clone this repository:
Then activate the environment contained within.
using LibGit2
LibGit2.clone("https://github.com/mkitti/DemoForLanceJNelson.jl","DemoForLanceJNelson.jl")
using Pkg
Pkg.activate("DemoForLanceJNelson.jl")
Pkg.instantiate()
using VASP
Surprisingly, the below also seems to work.
using LibGit2
LibGit2.clone("https://github.com/mkitti/DemoForLanceJNelson.jl","DemoForLanceJNelson.jl")
using Pkg
Pkg.activate("DemoForLanceJNelson.jl")
using DemoForLanceJNelson.jl
If you want to run this as a new user, set the environment variable JULIA_DEPOT_PATH.
$ git clone https://github.com/mkitti/DemoForLanceJNelson.jl
$ JULIA_DEPOT_PATH=`mktemp -d` julia -e '
using Pkg
Pkg.activate("DemoForLanceJNelson.jl")
Pkg.instantiate()
using VASP
'