This project will help display and organize your content. The website you create useing jekyll-homemenu, can be run on your server or github. Jekyll will generate a static website and github will do this automatically. Github does the automatic build with a gh-pages branch.
- Bootstrap
- Responsive
- Mobile
- FontAwesome
- fullPage
- eModal
Run the setup script to make sure you have the required software.
- RVM and Ruby (if required)
- Install Jekyll and Bundler
- Install node with Homebrew (if required)
- Install global NPMs
- Generating Apache vhost
- Generating package.json
- Clone jekyll-homemenu (if approved)
- Install dependencies with Bundler and NPM
mkdir <project>
cd <project>
./setup.sh
Location: _config.yml
This is the main configuration file for your website.
Here are some of the site
variables you need to update.
- title: Department
- email: you@domain.net
- description: > Department Home Page
- baseurl: "" (the subpath of your site, e.g. /blog)
- url: "https://you.domain.net"
- domain: "domain.net" (used for google site search)
- name: Department
- icon: "fa fa-building-o" (FontAwsome example)
- logo: department.png
- ns: "dept" (javascript namespace)
- google_analytics: UA-XXXXXXXX-X
- google_search: false (Do you want google site search in the navbar)
- twitter_username:
- github_username:
Location: _data
The two main configuration files will update the thumbnails menu. The JavaScript library fullPage
uses these to build different pages.
- one.json
- two.json
The next two data files will edit the projects JavaScript and CSS files.
- javascript.json
- css.json
Location: assets\img
Size: 100px x 100px
The top navbar is configured with the following file.
- _includes/menu.html
- _includes/menu-right.html
- .editorconfig
- Configuration for IDE - editorconfig
- .eslintrc.json
- ECMAScript Linting configuration - eslint
- .jsbeautifyrc
- Configuration file to cleanup minimized files - jsbeautifier
- .rsync-exclude
- Files and Directories that you don't want synced to server - rsync
- Gemfile
- Bundler configuration file - Bundler
- jsdoc-conf.json
- Configuration file for jsdoc - jsdoc
- kss-config.json
- Configuration file for KSS - KSS
The package.json
does the following to deploy your website.
- Generate Style Sheet with KSS
- Generate JavaScript Documentation with jsDoc
- Build the website with Jekyll
- Minimize JavaScript and generate Source Map with uglifyjs
- Rsync
_site
to server
npm run deploy
This command will start a local server and uses LiveReload. Open http://localhost:4000/ in Chrome to view website.
jekyll serve -L
or
npm run serve