Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.34 KB

README.md

File metadata and controls

41 lines (29 loc) · 1.34 KB

Usage

Setup github.user

  • To run PkgTemplate.jl correctly, you should do (only once):
$ git config --global github.user <your-github-account>

Run generate.jl

  • If you want to create a Julia package named "YourPkg", here is what you should do:
$ cd /path/to/this/repository
$ julia --project=@. -e 'using Pkg; Pkg.instantiate()'
$ julia --project=@. generate.jl YourPkg # YourPkg.jl is generated
$ julia --project=@. generate.jl YourPkg --with-jupyter # YourPkg.jl with Jupyter/Pluto.jl environment template is generated
  • Once you have done the instruction above, you can develop your Julia project.
$ cd YourPkg.jl
$ make # build a Docker image from Dockerfile
$ make test # test YourPkg.jl
$ docker-compose up lab # --with-jupyter only
$ docker-compose up web # initialize docs
$ make clean # clean your workspace

Appendix