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
For more about how to use Jekyll, check out [this tutorial](https://www.taniarascia.com/make-a-static-website-with-jekyll/).
116
+
Want to learn more about Jekyll? Check out [this tutorial](https://www.taniarascia.com/make-a-static-website-with-jekyll/).
114
117
Why Jekyll? Read [Andrej Karpathy's blog post](https://karpathy.github.io/2014/07/01/switching-to-jekyll/)!
115
118
116
119
117
120
### Installation
118
121
119
-
#### Local setup
122
+
For a hands-on walkthrough of al-folio installation, check out [this cool video tutorial](https://www.youtube.com/watch?v=g6AJ9qPPoyc) by one of the community members! 🎬 🍿
123
+
124
+
---
125
+
126
+
#### Local setup using Docker (Recommended on Windows)
127
+
128
+
You need to take the following steps to get `al-folio` up and running in your local machine:
Finally, run the following command that will pull a pre-built image from DockerHub and will run your website.
139
+
140
+
```bash
141
+
$ ./bin/dockerhub_run.sh
142
+
```
143
+
144
+
Note that when you run it for the first time, it will download a docker image of size 300MB or so.
145
+
146
+
Now, feel free to customize the theme however you like (don't forget to change the name!). After you are done, you can use the same command (`bin/dockerhub_run.sh`) to render the webpage with all you changes. Also, make sure to commit your final changes.
147
+
148
+
<details><summary>(click to expand) <strong>Build your own docker image (more advanced):</strong></summary>
149
+
150
+
> Note: this approach is only necessary if you would like to build an older or very custom version of al-folio.
151
+
152
+
First, download the necessary modules and install them into a docker image called `al-folio:Dockerfile` (this command will build an image which is used to run your website afterwards. Note that you only need to do this step once. After you have the image, you no longer need to do this anymore):
153
+
154
+
155
+
```bash
156
+
$ ./bin/docker_build_image.sh
157
+
```
158
+
159
+
Run the website!
160
+
161
+
```bash
162
+
$ ./bin/docker_run.sh
163
+
```
164
+
165
+
> To change port number, you can edit `docker_run.sh` file.
166
+
167
+
> If you want to update jekyll, install new ruby packages, etc., all you have to do is build the image again using `docker_build_image.sh`! It will download ruby and jekyll and install all ruby packages again from scratch.
168
+
169
+
</details>
170
+
171
+
---
172
+
173
+
#### Local Setup (Standard)
120
174
121
175
Assuming you have [Ruby](https://www.ruby-lang.org/en/downloads/) and [Bundler](https://bundler.io/) installed on your system (*hint: for ease of managing ruby gems, consider using [rbenv](https://github.com/rbenv/rbenv)*), first [fork](https://guides.github.com/activities/forking/) the theme from `github.com:alshedivat/al-folio` to `github.com:<your-username>/<your-repo-name>` and do the following:
122
176
@@ -130,6 +184,8 @@ $ bundle exec jekyll serve
130
184
Now, feel free to customize the theme however you like (don't forget to change the name!).
131
185
After you are done, **commit** your final changes.
132
186
187
+
---
188
+
133
189
#### Deployment
134
190
135
191
Deploying your website to [GitHub Pages](https://pages.github.com/) is the most popular option.
@@ -211,6 +267,8 @@ In its default configuration, al-folio will copy the top-level `README.md` to th
211
267
212
268
</details>
213
269
270
+
---
271
+
214
272
#### Upgrading from a previous version
215
273
216
274
If you installed **al-folio** as described above, you can upgrade to the latest version as follows:
@@ -227,6 +285,8 @@ You can still follow the steps above, but `git rebase` may result in merge confl
227
285
See [git rebase manual](https://help.github.com/en/github/using-git/about-git-rebase) and how to [resolve conflicts](https://help.github.com/en/github/using-git/resolving-merge-conflicts-after-a-git-rebase) for more information.
228
286
If rebasing is too complicated, we recommend to re-install the new version of the theme from scratch and port over your content and changes from the previous version manually.
229
287
288
+
---
289
+
230
290
### FAQ
231
291
232
292
Here are some frequently asked questions.
@@ -260,6 +320,7 @@ If you have a different question, please ask using [Discussions](https://github.
260
320
RSS Feed plugin works with these correctly set up fields: `title`, `url`, `description` and `author`.
261
321
Make sure to fill them in an appropriate way and try again.
262
322
323
+
263
324
## Features
264
325
265
326
### Publications
@@ -325,7 +386,9 @@ There are several custom bibtex keywords that you can use to affect how the entr
325
386
You can implement your own buttons by editing the bib.html file.
326
387
327
388
</details>
328
-
389
+
390
+
---
391
+
329
392
### Collections
330
393
331
394
This Jekyll theme implements `collections` to let you break up your work into categories.
@@ -337,7 +400,9 @@ Items from the `projects` collection are displayed on a responsive grid on proje
337
400
338
401
You can easily create your own collections, apps, short stories, courses, or whatever your creative work is.
339
402
To do this, edit the collections in the `_config.yml` file, create a corresponding folder, and create a landing page for your collection, similar to `_pages/projects.md`.
340
-
403
+
404
+
---
405
+
341
406
### Layouts
342
407
343
408
**al-folio** comes with stylish layouts for pages and blog posts.
@@ -370,6 +435,7 @@ Easily create beautiful grids within your blog posts and project pages:
370
435
</a>
371
436
</p>
372
437
438
+
---
373
439
374
440
### Other features
375
441
@@ -401,10 +467,28 @@ Before you get started, please take a look at [the guidelines](CONTRIBUTING.md).
401
467
If you would like to improve documentation, add your webpage to the list below, or fix a minor inconsistency or bug, please feel free to send a PR directly to `master`.
402
468
For more complex issues/bugs or feature requests, please open an issue using the appropriate template.
403
469
470
+
### Core Contributors
471
+
472
+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
The theme is available as open source under the terms of the [MIT License](https://github.com/alshedivat/al-folio/blob/master/LICENSE).
408
491
409
492
Originally, **al-folio** was based on the [\*folio theme](https://github.com/bogoli/-folio) (published by [Lia Bogoev](https://liabogoev.com) and under the MIT license).
410
493
Since then, it got a full re-write of the styles and many additional cool features.
0 commit comments