Skip to content

cmoro-deusto/docker-octopress

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

docker-octopress

Customize to your octopress project (Dockerfile)

##Locale

Set the locale of your octopress project:

# Set correct local
RUN locale-gen es_ES.UTF-8
ENV LANG es_ES.UTF-8
ENV LC_CTYPE es_ES.UTF-8

##Octopress project

Change the line in the Dockerfile to your octopress project (So we install the correct gem versions)

For example:

RUN git clone -b source https://github.com/ticketbis/ticketbis.github.io.git octopress

To a fresh and new octopress:

RUN git clone git://github.com/imathis/octopress.git octopress

Also is commented but if you have an octopress new fresh install you would like to uncomment default theme installation: RUN rake install

Run the container

Run the docker container (will be removed when exit), map localhost 4000 port to container 4000 port, and our /home/dordoka/Code/ path to /home/octopress/Code container path:

docker run --rm -it -p 4000:4000 -v /home/dordoka/Code/:/home/octopress/Code dordoka/octopress

Example: https://asciinema.org/a/11050

About

Octopress container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%