From 97a7fa064cdfeaef9858cd21f9ae7e21a18b3545 Mon Sep 17 00:00:00 2001 From: Dean Attali Date: Mon, 27 Apr 2020 03:19:52 +0000 Subject: [PATCH] remove docker for simplification --- Dockerfile | 8 -------- README.md | 38 -------------------------------------- _config.yml | 2 -- 3 files changed, 48 deletions(-) delete mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 306e326..0000000 --- a/Dockerfile +++ /dev/null @@ -1,8 +0,0 @@ -FROM jekyll/jekyll - -COPY --chown=jekyll:jekyll Gemfile . -COPY --chown=jekyll:jekyll Gemfile.lock . - -RUN bundle install --quiet --clean - -CMD ["jekyll", "serve"] \ No newline at end of file diff --git a/README.md b/README.md index 4d0a8da..754c86a 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,6 @@ - [Supported YAML front matter parameters](#supported-yaml-front-matter-parameters) - [Showcased users (success stories!)](#showcased-users-success-stories) - [Advanced: Using `remote_theme`](#advanced-using-remote_theme) -- [Advanced: local development](#advanced-local-development-using-docker) - [FAQ and support](#faq-and-support) - [Credits and contributions](#credits) @@ -236,43 +235,6 @@ Below is a summary of the steps required to set up a site with remote themes: - Add `- jekyll-remote-theme` to the plugins section of your `_config.yml` file to activate the plugin. - Serve the jekyll site as usual (e.g. `bundle exec jekyll serve -H 0.0.0.0`) -## Advanced: Local development using Docker - -Beautiful Jekyll is meant to be so simple to use that you can do it all within the browser. However, if you'd like to develop locally on your own machine, that's possible too if you're comfortable with command line. Follow these simple steps set that up with Docker: - -1. Make sure you have [Docker](https://www.docker.com/) installed. - -2. Clone your repository locally. - - ```bash - git clone https://github.com//.github.io.git - ``` - -3. Run the following shell commands to build the docker image and start the container for the first time: - - ```bash - cd - docker build -t beautiful-jekyll "$PWD" - docker run -d -p 4000:4000 --name beautiful-jekyll -v "$PWD":/srv/jekyll beautiful-jekyll - ``` - - -Now that Docker is set up, you do not need to run the above steps again. You can now view your website at http://localhost:4000/. You can start the container again in the future with: - -```bash -docker start beautiful-jekyll -``` - -And you can stop the server with: - -```bash -docker stop beautiful-jekyll -``` - -Whenever you make any changes to `_config.yml`, you must stop and re-start the server for the new config settings to take effect. - -Disclaimer: I personally am NOT using local development so I don't know much about running Jekyll locally. If you follow this route, please don't ask me questions because unfortunately I honestly won't be able to help! - ## FAQ and support If you need any help, I suggest heading over to the [Jekyll support forum](https://talk.jekyllrb.com/). diff --git a/_config.yml b/_config.yml index fc145fb..6ee371d 100644 --- a/_config.yml +++ b/_config.yml @@ -192,12 +192,10 @@ defaults: exclude: - CHANGELOG.md - CNAME - - Dockerfile - Gemfile - Gemfile.lock - LICENSE - README.md - - Vagrantfile - docs/ plugins: