This is the replication project template.
- Click top right on
use this template, thencreate a new repository. - Choose a suitable name for your replication project.
- Clone your new repository to your computer.
- Open this locally in VScode.
(you get a nice preview of this document in VScode by executing command Markdown: Open preview - type this into the command 😉 )
This page should contain concise information for how to
- install your julia package
- run the unit tests
- run the replication output (there needs to be a single entry point that runs everything, ideally called
run_all()) - gives instructions for how to compile and where to see your replication report. See https://quarto.org for instructions for how to use quarto.
-
Copy the original replication package into the folder
replication-package -
(optional) follow instructions in
replication-packageto replicate desired exhibits -
set up your julia package in this repo. To do so, start the julia REPL in this location (alt-J alt-O, otherwise look in command palette)
-
Choose a name for your replication package, for example
XYZ.jl(choose something better and replaceXYZthroughout with your choice!) -
Generate your julia package in this directory with
using Pkg Pkg.generate("XYZ.jl")
-
In the VScode file browser on the left, investigate the newly created directory
-
Activate your package:
julia> Pkg.activate("XYZ.jl") # load it julia> using XYZ # run function julia> XYZ.greet() Hello World!
-
Edit the code in
XYZ.jl/src/XYZ.jl, maybe adding a word to the greet function. Save the file. Call the function again.julia> XYZ.greet() Hello World, Earthlings!