For efficiency reasons, we split the JSO tutorials into different repositories. Clone this template to use it for a new tutorial.
This website uses the structure of the root website under it to avoid duplicating updates to the css and layout. Here are the steps to run this locally:
- Run bash getdeps.shto clone what is needed.
- Install npm
- Run npm install
- Run npm run css-build
- Open julia, activate and instantiate the environment.
julia> # press ] pkg> activate . (...) pkg> instantiate
- Use Franklinandservepkg> # press backspace julia> using Franklin julia> serve()
- Go to https://localhost:8000 to check that everything is running.
- Edit index.mdandindex.jlas needed.
- If you pkg> addany package, add a[compat]upper bound.
- Make sure that dependencies have upper bounds in the [compat]section ofProject.toml.
- Push to GitHub inside the jso-docs organization.
- Enable building github pages on the settings.
- Check that it went well.
- Create a PR to https://github.com/jso-docs/jso-docs.github.io adding your tutorial to _data/docs.json.