Skip to content

Commit 35656e7

Browse files
committed
Remove dependency to Docker
1 parent 36e707e commit 35656e7

File tree

3 files changed

+9
-28
lines changed

3 files changed

+9
-28
lines changed

Dockerfile

Lines changed: 0 additions & 14 deletions
This file was deleted.

README.md

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -106,35 +106,29 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
106106

107107
### Test with Jekyll site
108108

109-
First, build a Docker image and run a container.
109+
First, create a new Jekyll site and move to the new directory.
110110

111111
```console
112-
$ docker build --no-cache -t jekyll_linkpreview_dev .
113-
$ docker run --rm -it -w /jekyll-linkpreview -p 4000:4000 jekyll_linkpreview_dev /bin/bash
112+
$ bundle exec jekyll new /tmp/testsite && cd /tmp/testsite
114113
```
115114

116-
Create a new Jekyll site and move into the new directory.
115+
Add the following line to `:jekyll_plugins` group of Gemfile.
117116

118-
```console
119-
# bundle exec jekyll new testsite && cd testsite
120117
```
121-
122-
Add this line to `:jekyll_plugins` group of Gemfile.
123-
124-
```console
125118
gem "jekyll-linkpreview", git: "https://github.com/YOUR_ACCOUNT/jekyll-linkpreview", branch: "YOUR_BRANCH"
126119
```
127120

128-
Install the dependecies to your new site.
121+
Install the dependecies for the new site.
129122

130123
```console
131-
# bundle install
124+
$ bundle config set --local path vendor/bundle
125+
$ bundle install
132126
```
133127

134-
Add a tag such as `{% linkpreview "https://github.com/ysk24ok/jekyll-linkpreview" %}` to `index.markdown` , then start a Jekyll server.
128+
Add a tag such as `{% linkpreview "https://github.com/ysk24ok/jekyll-linkpreview" %}` to `index.markdown`, then start a Jekyll server.
135129

136130
```console
137-
# bundle exec jekyll serve --host 0.0.0.0
131+
$ bundle exec jekyll serve
138132
```
139133

140134
## Contributing

bin/setup

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ set -euo pipefail
33
IFS=$'\n\t'
44
set -vx
55

6+
bundle config set --local path vendor/bundle
67
bundle install
78

89
# Do any other automated setup that you need to do here

0 commit comments

Comments
 (0)