This is the official Phoxygen website.
We started from the Jekyll implementation of the Stylish Portfolio template by Start Bootstrap.
See the site in action at http://www.phoxygen.com/
The website can be accessed on http://localhost:4000/
You can either install the dependencies manually or use the Docker recipe.
Prerequisite:
- Ruby 2.1.0 or later
- bundler
gem install bundler
bundle install
# jekyll serve
bundle exec jekyll serve --watchYou can let docker deal with the ruby gems.
/!\ Make sure your Docker client points to a local Docker daemon. These steps are not suitable for a remote docker instance.
The easiest way to do so is to check what’s inside the DOCKER_HOST environment variable.
At the root of the repository:
docker-compose upbuilds a docker image if not already done and starts the server on port 4000.
This is strictly equivalent to using jekyll serve (i.e. it listens to your local
changes, etc.).
Edit docker-compose.yml to change settings if the defaults do not suit your needs.
These docker commands are strictly equivalent to the docker-compose up above.
# run this once
docker build -t <my-tag>
# run this every time you want to start the server
docker run -i -p 4000:4000 -v <absolute-path-to-project>:/home/user/src \
<my-tag> serve -H 0.0.0.0Pro tip:
The entry point of the Dockerfile is jekyll. So you can alias docker run -i -p 4000:4000 -v <absolute-path-to-project>:/src grahamc/jekyll:latest to
my-jekyll-alias and use it just as you would use a local jekyll install:
my-jekyll-alias serve -H 0.0.0.0