Giter Club home page Giter Club logo

atishay25.github.io's Introduction

al-folio

deploy demo GitHub contributors Maintainers GitHub release GitHub license GitHub stars GitHub forks

Docker Image Version Docker Image Size Docker Pulls

A simple, clean, and responsive Jekyll theme for academics.

Preview

Installation

$ git clone [email protected]:<your-username>/<your-repo-name>.git
$ cd <your-repo-name>

Local setup using Docker (Recommended)

Using Docker to install Jekyll and Ruby dependencies is the easiest way.

You need to take the following steps to get al-folio up and running on your local machine:

  • First, install docker and docker-compose.
  • Finally, run the following command that will pull the latest pre-built image from DockerHub and will run your website.
$ docker compose pull
$ docker compose up

Note that when you run it for the first time, it will download a docker image of size 400MB 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 (docker compose up) to render the webpage with all you changes. Also, make sure to commit your final changes.

To change port number, you can edit docker-compose.yml file.


Local Setup

Install RVM (Ruby Package Manager) and using it, install ruby version 3.2.2, install bundler also using gem. Then, run -

$ bundle install
$ bundle exec jekyll serve --lsi

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

Starting version v0.3.5, al-folio will automatically re-deploy your webpage each time you push new changes to your repository! โœจ

For personal and organization webpages:

  1. The name of your repository MUST BE <your-github-username>.github.io or <your-github-orgname>.github.io.
  2. In _config.yml, set url to https://<your-github-username>.github.io and leave baseurl empty.
  3. Set up automatic deployment of your webpage (see instructions below).
  4. Make changes, commit, and push!
  5. After deployment, the webpage will become available at <your-github-username>.github.io.

To enable automatic deployment:

  1. Click on Actions tab and Enable GitHub Actions; do not worry about creating any workflows as everything has already been set for you.
  2. Go to Settings -> Actions -> General -> Workflow permissions, and give Read and write permissions to GitHub Actions
  3. Make any other changes to your webpage, commit, and push. This will automatically trigger the Deploy action.
  4. Wait for a few minutes and let the action complete. You can see the progress in the Actions tab. If completed successfully, in addition to the master branch, your repository should now have a newly built gh-pages branch.
  5. Finally, in the Settings of your repository, in the Pages section, set the branch to gh-pages (NOT to master). For more details, see Configuring a publishing source for your GitHub Pages site.

If you keep your site on another branch, open .github/workflows/deploy.yml on the branch you keep your website on and change on->push->branches and on->pull_request->branches to the branch you keep your website on. This will trigger the action on pulls/pushes on that branch. The action will then deploy the website on the branch it was triggered from.


License

The theme is available as open source under the terms of the MIT License.

Originally, al-folio was based on the *folio theme (published by Lia Bogoev and under the MIT license). Since then, it got a full re-write of the styles and many additional cool features.

atishay25.github.io's People

Contributors

alshedivat avatar george-gca avatar rohandebsarkar avatar pourmand1376 avatar samfearn avatar monkeywithacupcake avatar adunning avatar furkanakkurt1335 avatar g-oikonomou avatar raffaem avatar junghans avatar davidkrassnig avatar allcontributors[bot] avatar cmoralesmx avatar atishay25 avatar johanneshoerner avatar gzwongkk avatar ziruizhuang avatar yifanjiang233 avatar sim642 avatar akindofyoga avatar jmrplens avatar dominikstrb avatar abstractgeek avatar dag7dev avatar scottleechua avatar jkmacc-lanl avatar brunovianna avatar tonnesfn avatar swabhs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.