Skip to content

Website for "aegis-icons" project, powered by Jekyll.

License

Notifications You must be signed in to change notification settings

aegis-icons/aegis-icons.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aegis-icons.github.io

Website for our icon set that has very basic Jekyll setup.

Running the local test server

Setup

  1. Install Ruby and Jekyll with guides here.
  2. Run bundle in the terminal at site's root directory.

Start the server

  1. For Windows, run .1___start_jekyll_server BAT script.
  2. For other OSes / alternative way, execute this terminal command at site's root directory:
jekyll serve --incremental --host 0.0.0.0 --port 4000 --open_url

After running the BAT or executing the command, it will automatically open local Jekyll server pages in the default browser.

If you can't connect to 0.0.0.0:4000, try localhost:4000 in browser instead or changing --host 0.0.0.0 to --host localhost.

Share the server with local network

Optional! Only needed if you want to test in your mobile devices etc.

  1. Open port 4000 (TCP protocol) from router's settings.
  2. Find your local IPv4 address of the server PC.
  3. Start the server.
  4. Go to http://[SERVER'S-LOCAL-IPv4-ADDRESS]:4000 on your other device.

Note
Server's local network sharing won't work if --host 0.0.0.0 is changed to --host localhost.

Compressing CSS and JS files in the _includes directory

  1. Install Minify with your prefered way.

    • On Windows, download binary (minify_windows_amd64.zip) and add that .exe to the folder that's on the PATH (c:\Windows for example, highly recommended to create new PATH variable).
    1. For Windows, use the .2___compress_includes-dir_css_js BAT script.
    2. For other OSes / alternative way, go to _includes directory with terminal and paste these commands:
    minify -o bottom-scripts.min.js         1a____bottom-scripts.js
    minify -o bottom-scripts-module.min.js  1b____bottom-scripts-module.js
    minify -o modules.min.css               2a____modules.css
    minify -o noscript-style.min.css        2b____noscript-style.css
    minify -o fonts.min.css                 2c____fonts.css
    minify -o sanitize.min.css              4a____sanitize.css

While using Jekyll development server, site uses uncompressed CSS & JS files.

Note
Remember to compress CSS & JS files before committing / sending PR!

Credits

Assets

License

Custom license, all rights reserved with exceptions mentioned in LICENSE doc.