Skip to content

snowmass2021/seattlesnowmass2021

Repository files navigation

Seattle Snowmass Website Source

Please submit PR's if you'd like to see anything new here! The website can currently be found here http://seattlesnowmass2021.net.

Running this locally

The following command is used to run this locally:

docker run --rm -it -v {repo-location}:/gitrepo -v ruby-gem-bundles:/usr/local/bundle -v ruby-gems:/usr/gem -p 4001:4000 jekyll/jekyll:4.0 bash -c \"'cd /gitrepo; jekyll serve --incremental --force_poll'\"

Once it is up and running you can point your browser at http://localhost:4001. When you make modifications it should automatically update the site in the container without you having to re-run anything. The initial start up is slow: lots of ruby assets need to be downloaded.

There is a simpler command which will do the same thing below, without using any temporary space on your machine between invocations:

docker run --rm -it -v {repo-location}:/gitrepo -p 4001:4000 jekyll/jekyll:4.0 bash -c \"'cd /gitrepo; jekyll serve --incremental --force_poll'\"

However, every single time you run this you'll end up with the initial website build taking a while - it will have to re-download all the bits of the website each time.

If you are using vscode you can just run the task jekyll serve (docker). This version of the command will also cache gems between runs, making startup after the initial startup significantly faster.

About

Website source for the Seattle Snowmass 2021 meeting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published