Skip to content

terasakisatoshi/MathSeminar.jl

Repository files navigation

Gitpod ready-to-code

Build and Deploy

MathSeminar.jl

How to build my page

Case1: using Julia

  • Run the following command
$ julia --project=@.
julia> using Pkg; Pkg.instantiate()
julia> using Franklin; serve()

Case2: using Docker container

  • If you hesitate to create environment related to Julia. we recommend using Docker containers technique to create Julia's environment. You do not have to install Julia locally and keep clean your development environment.
  1. Install Docker and Docker Compose
  2. Run the following command:
$ make build
$ make web

which is almost same as

$ docker-compose build
$ docker-compose run --rm julia julia -e 'using Pkg; Pkg.instantiate()'
$ docker-compose up web
  • It builds docker image, creates docker container, also initialize HTTP server inside of the docker container. You can see the result via your web browser via http://localhost:8000