Read below for info and how to update.
-
clone the repo locally
git clone git@github.com:mshanken/mshanken.git
-
cd into the project.
-
Create a folder in the css folder and name it _vendor
mkdir _site/public/css/_vendor
-
Create a folder in the ja folder and name it vendor
mkdir _site/public/js/vendor
docker-compose up -d
builds the project in a docker container. Once that's done. Type this URL http://localhost:9000 in your browser to check web site.
docker-compose exec web npm run browsersync
starts browser-sync http://localhost:3000/ hit Ctrl + P and Ctrl + Q
to detach.
docker-compose exec web npm run compile
compiles served site into static HTML in a folder "www"
docker-compose exec web npm run gh-pages
what this command does is compiled (if not compiled) then drops compiled files into root folder
Note: this comand should be used in gh-pages branch only.
Run docker-compose exec web /bin/bash
to access docker machine from terminal an run other grunt/npm comands.
docker-compose stop
to turn off the docker container.
docker-compose down
to remove this container, Always use this command after you are done with this repo.
Read more in here