neurodatascience / course-2019

Website for the 2019 NeuroData Science Course.

Home Page:https://neurodatascience.github.io/course-2019/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jekyll Doc Theme

Go to the website for detailed information and demo.

Running locally

You need Ruby and gem before starting, then:

# install bundler
gem install bundler

# clone the project
git clone https://github.com/aksakalli/jekyll-doc-theme.git
cd jekyll-doc-theme

# run jekyll with dependencies
bundle exec jekyll serve

If bundle exec jekyll serve fails

It could be that the bundler version is not the right one : look at the "BUNDLE WITH' and version of bundler in the Gemfile.lock file:

BUNDLED WITH
   2.0.1

and in that case use :

gem install bundler -v '2.0.1'

Docker

Alternatively, you can deploy it using the multi-stage Dockerfile that serves files from Nginx for better performance in production.

Build the image for your site's JEKYLL_BASEURL:

docker build --build-arg JEKYLL_BASEURL="/your-base/url" -t jekyll-doc-theme .

(or leave it empty for root: JEKYLL_BASEURL="") and serve it:

docker run -p 8080:80 jekyll-doc-theme

License

Released under the MIT license.

About

Website for the 2019 NeuroData Science Course.

https://neurodatascience.github.io/course-2019/

License:MIT License


Languages

Language:SCSS 98.4%Language:HTML 1.4%Language:JavaScript 0.1%Language:Dockerfile 0.1%Language:Ruby 0.1%