-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from code-IM-perfect/main
Updated secys and cordies for 2024-25
- Loading branch information
Showing
30 changed files
with
1,011 additions
and
520 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ gem "jekyll-paginate" | |
gem 'jekyll-tagging' | ||
gem "jekyll-sitemap" | ||
gem "webrick", "~> 1.7" | ||
gem "json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,22 @@ | ||
# pclub-web-revamp | ||
Programming Club IIT Kanpur Website Revamp | ||
# Pclub Website | ||
Pclub's website is a jekyll based static pages website with a custom theme. | ||
|
||
### Deployment | ||
### Dependencies | ||
The only dependency is `jekyll`...which is made with `ruby` so it is and extended dependency. As with anything Ruby, it is recommended to use | ||
|
||
To run the theme locally,clone and navigate to the theme directory and run `bundle install` to install the dependencies, then run `bundle exec jekyll serve` to start the Jekyll server. Check `http://127.0.0.1:4000/` now. | ||
### Running locally | ||
To run the theme locally | ||
- Install `ruby` along with `gem` which probably installs alongside (preferably with a package manager) | ||
- Install `bundle` with `gem install bundle` | ||
- Now clone this repo (fork it if you haven't) and navigate to the cloned directory | ||
- Run `bundle install` to install all the dependencies | ||
- Finally run `bundle exec jekyll serve` to start build the project and start a Jekyll server on localhost | ||
- You can use `bundle exec jekyll serve --livereload` instead to automatically preview the changes as you make them (auto reloads on file save) | ||
- You can preview the site at `localhost:4000` or `127.0.0.1:4000` | ||
|
||
I would recommend checking the [Official Documentation](https://jekyllrb.com/docs/) page on Jekyll website. | ||
It is recommended to check out the official [step-by-step tutorial](https://jekyllrb.com/docs/step-by-step/) which does an excellent job explaining the workings of Jekyll | ||
|
||
## Structure of the project | ||
The structure of this project is like any normal jekyll project, with an exception of the `updating-scripts` folder which contains custom scripts to make the task of updating the site every year easier and have nothing to do with the actual site served. | ||
|
||
The general structure of a jekyll project is comprihensively explained in [their docs](https://jekyllrb.com/docs/structure/) |
Oops, something went wrong.