Skip to content

compostelatech/compostelatech.github.io

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
css
 
 
 
 
img
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Enviroment local - using Docker

Run

Open a terminal with project path and execute:

docker-compose up

Stop

Key press CTRL + C to finish server and run:

docker-compose down

Build base image

 docker build -t githubpagebase:v1.0 .

More useful commands

Run container from bash or powershell

docker run --rm -it -p 4000:4000 -v ${PWD}:/app -w /app githubpagebase /bin/bash

Run container from windows command line

docker run --rm -it -p 4000:4000 -v %cd%:/app -w /app githubpagebase /bin/bash

Run jekyll serve:

bundle exec jekyll serve --host 0.0.0.0 -w --config "_config.yml,_config_dev.yml"

Run container with jekyll serve:

> docker run --rm -it -p 4000:4000 -v %cd%:/app -w /app githubpagebase:v1.0 /bin/bash -c "'bundle install && bundle exec jekyll serve --host 0.0.0.0 -w --config '_config.yml,_config_dev.yml'""

Bugs and Issues

About

References

Start Bootstrap is an open source library of free Bootstrap templates and themes. All of the free templates and themes on Start Bootstrap are released under the MIT license, which means you can use them for any purpose, even for commercial projects.

CompostelaTech.