Skip to content
Snippets Groups Projects
Commit b6aeea38 authored by Tommi Nylander's avatar Tommi Nylander
Browse files

Update README.md

parent a645512d
Branches
Tags
No related merge requests found
Pipeline #759 failed
...@@ -17,7 +17,7 @@ chmod +x julialab1 ...@@ -17,7 +17,7 @@ chmod +x julialab1
``` ```
(Feel free to choose another text editor if you don't like gedit.) This step only needs to be done once. Henceforth you can start julia with the environment setup by running `./julialab1` in the current directory. (Feel free to choose another text editor if you don't like gedit.) This step only needs to be done once. Henceforth you can start julia with the environment setup by running `./julialab1` in the current directory.
4. Start `./julialab1` 4. Start `./julialab1`
5. Install `BallAndBeam.jl` using command `using Pkg; Pkg.add(PackageSpec(url="https://gitlab.control.lth.se/processes/LabProcesses.jl.git", rev=julia1)); Pkg.add(PackageSpec(url="https://gitlab.control.lth.se/processes/BallAndBeam.jl.git", rev=tommi)); using BallAndBeam` Lots of packages will now be installed, this will take some time. 5. Install `BallAndBeam.jl` using command `using Pkg; Pkg.add(PackageSpec(url="https://gitlab.control.lth.se/processes/LabProcesses.jl.git", rev="julia1")); Pkg.add(PackageSpec(url="https://gitlab.control.lth.se/processes/BallAndBeam.jl.git", rev="tommi")); using BallAndBeam` Lots of packages will now be installed, this will take some time.
6. Type `cp(joinpath(pathof(BallAndBeam),"src","FRTN35_lab1.jl")), "FRTN35_lab1.jl"); edit("FRTN35_lab1.jl")`. The script `FRTN35_lab1.jl` will now open in the chosen text editor, edit it while following the lab manual. If unsure about how a function works, type `?function_name` for help. 6. Type `cp(joinpath(pathof(BallAndBeam),"src","FRTN35_lab1.jl")), "FRTN35_lab1.jl"); edit("FRTN35_lab1.jl")`. The script `FRTN35_lab1.jl` will now open in the chosen text editor, edit it while following the lab manual. If unsure about how a function works, type `?function_name` for help.
7. Run `Pkg.activate(pathof(BallAndBeam))` to install further required packages. 7. Run `Pkg.activate(pathof(BallAndBeam))` to install further required packages.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment