diff --git a/README.md b/README.md index db44f70..7c47661 100644 --- a/README.md +++ b/README.md @@ -113,46 +113,54 @@ Neural Compression (ICLR: /.git - cd +$ git clone git@github.com:/.git +$ cd ``` -Then you can use Dockerhub prebuilt image to run your website. Note that for the first time it would download an image of size 300MB or so. +Finally, run the following command that will pull a pre-built image from DockerHub and will run your website. ```bash - bin/dockerhub_run.sh +$ ./bin/dockerhub_run.sh ``` -> Currently, you should opt this method, only if you are using newest version of al-folio. If you are using an old version. You should build your own image. +Note that when you run it for the first time, it will download a docker image of size 300MB or so. + +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.
(click to expand) Build your own docker image (more advanced): +> Note: this approach is only necessary if you would like to build an older or very custom version of al-folio. + 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): -\```bash - bin/docker_build_image.sh -\``` +```bash +$ ./bin/docker_build_image.sh +``` Run the website! -\```bash - bin/docker_run.sh -\``` +```bash +$ ./bin/docker_run.sh +``` > To change port number, you can edit `docker_run.sh` file. @@ -160,6 +168,8 @@ Run the website!
+--- + #### Local Setup (Standard) 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:/` and do the following: @@ -174,6 +184,8 @@ $ bundle exec jekyll serve Now, feel free to customize the theme however you like (don't forget to change the name!). After you are done, **commit** your final changes. +--- + #### Deployment Deploying your website to [GitHub Pages](https://pages.github.com/) is the most popular option. @@ -255,6 +267,8 @@ In its default configuration, al-folio will copy the top-level `README.md` to th +--- + #### Upgrading from a previous version If you installed **al-folio** as described above, you can upgrade to the latest version as follows: @@ -271,6 +285,8 @@ You can still follow the steps above, but `git rebase` may result in merge confl 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. 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. +--- + ### FAQ Here are some frequently asked questions. @@ -304,6 +320,7 @@ If you have a different question, please ask using [Discussions](https://github. RSS Feed plugin works with these correctly set up fields: `title`, `url`, `description` and `author`. Make sure to fill them in an appropriate way and try again. + ## Features ### Publications @@ -369,7 +386,9 @@ There are several custom bibtex keywords that you can use to affect how the entr You can implement your own buttons by editing the bib.html file. - + +--- + ### Collections This Jekyll theme implements `collections` to let you break up your work into categories. @@ -381,7 +400,9 @@ Items from the `projects` collection are displayed on a responsive grid on proje You can easily create your own collections, apps, short stories, courses, or whatever your creative work is. 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`. - + +--- + ### Layouts **al-folio** comes with stylish layouts for pages and blog posts. @@ -414,6 +435,7 @@ Easily create beautiful grids within your blog posts and project pages:

+--- ### Other features