You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Added `bpkg.json` for quick command reference.
* Added Docker for local development environment:
- Added `docker-compose.yml` with `jekyll/jekyll` image
- Updated `_config.yml` exclude to include compose file
- Updated `bpkg.json` to include docker commands
- Updated `README.md` to provide Docker Environment section
* Added Jekyll minimal theme to Docker image.
- Added `Dockerfile` with `gem install` for required Jekyll theme
- Updated `docker-compose.yml` to use new `Dockerfile`
- Updated `_config.yml` exclude to include `dev` directory
* Fixed failed Jekyll build:
- Updated `Dockerfile` to add `webrick` install
- Remove `nil` valued layout from `atom.xml` and `rss.xml`
* Added `bpkg` to Docker image:
- Updated `Dockerfile` to install `bpkg` and dependencies
- Updated `bpkg.json` to include commands for Docker `bpkg`
* Added `bpkg` Rake commands.
* Correct Docker environment:
- Update `bpkg.json` command `docker` to expose service ports
- Update `Dockerfile` installation of `curl` removing virtual option
Copy file name to clipboardExpand all lines: README.md
+46-9Lines changed: 46 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,18 +3,36 @@
3
3
`bpkg` is a lightweight bash package manager.
4
4
This repository contains the source code of it's homepage.
5
5
6
-
## Links:
6
+
## Links
7
7
8
8
*[`bpkg` homepage][home];
9
9
*[`bpkg` source code on GitHub][hub];
10
10
*[`bpkg` organization on GitHub][org];
11
11
12
+
## `bpkg` Commands
13
+
14
+
To assist in working with this project, A `bpkg.json` file has been included with commonly used project commands. The provided commands can be executed using the following format:
15
+
16
+
```bash
17
+
$ bpkg run [COMMAND]
18
+
```
19
+
20
+
In the remainder of this document, if there is a accompanying `bpkg`_command_ it will be listed as follows:
21
+
22
+
> **BPKG:**`[COMMAND]`
23
+
24
+
## Docker Environment
25
+
26
+
This environment is not necessary to use if you'd rather run everything directly on your host system. This environment is provided however, to facilitate all the required components for building and development of `bpkg` site. There are associated `bpkg` commands to interact with the Docker environment.
27
+
12
28
## Dependencies
13
29
14
30
This website was made with the [Jekyll][jekyll] engine, so it depends on a few
15
31
Ruby Gems. To install them, run the following command.
16
32
17
-
$ gem install jekyll
33
+
```bash
34
+
$ gem install jekyll
35
+
```
18
36
19
37
It might take a while to finish, but once it does you're ready to go.
20
38
@@ -28,19 +46,29 @@ of possible commands (thanks to [this great quickstart on Jekyll][tuto]):
28
46
29
47
---
30
48
31
-
$ rake preview
49
+
```bash
50
+
$ rake preview
51
+
```
52
+
53
+
> **BPKG:**`preview`<br />
54
+
> **BPKG:**`docker-preview`
32
55
33
56
Builds the entire site to a local folder `_site` and launches a webserver to
34
57
preview it.
35
58
36
-
To see the full site, point your browser to `localhost:40000`.
59
+
To see the full site, point your browser to `localhost:4000`.
37
60
38
61
If you make any changes on any files, it will regenerate the website
39
62
automatically.
40
63
41
64
---
42
65
43
-
$ rake post title="Hello, World!"
66
+
```bash
67
+
$ rake post title="Hello, World!"
68
+
```
69
+
70
+
> **BPKG:**`post title="Hello, World!"`<br />
71
+
> **BPKG:**`docker-post title="Hello, World!"`
44
72
45
73
Creates a new post. It will create a file `_posts/YYYY-MM-DD-title.md`, where
46
74
the date is the current, by default.
@@ -50,11 +78,21 @@ site.
50
78
51
79
---
52
80
53
-
$ rake page name="about"
81
+
```bash
82
+
$ rake page name="about"
83
+
```
84
+
85
+
> **BPKG:**`page name="about"`<br />
86
+
> **BPKG:**`docker-page name="about"`
54
87
55
88
Creates a new page. It will create the file `./about/index.html`.
56
89
57
-
$ rake page name="about.html"
90
+
```bash
91
+
$ rake page name="about.html"
92
+
```
93
+
94
+
> **BPKG:**`page name="about.html"`<br />
95
+
> **BPKG:**`docker-page name="about.html"`
58
96
59
97
Alternative way to create a new page, on this case it will be `./about.html`.
60
98
@@ -78,9 +116,8 @@ This site uses [Jekyll Bootstrap][boots] with a heavily customized version of
0 commit comments