bundle install # Install dependencies
bundle exec jekyll serve # Run the server
To build:
bundle exec jekyll build # Build the project
-
Build Docker image
make build
-
Start the server (need for first time to install
gem
dependencies)make start
-
get container name using:
docker ps -a (IMAGE: blog)
-
Everytime, to run server locally, do this:
make run CONTAINER_NAME=relaxed_mcclintock
replace
relaxed_mcclintock
with generated container name -
Remove the Docker image (if needed)
make clean
./create.py -t 'some title' -c 'what category' # Need chmod +x