beryllium / Slim-Website

Slim Framework website for GitHub Pages

Home Page:http://slimframework.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slim-Website

This is the repository for the Slim website at www.slimframework.com.

Contributing

If you spot any errors, typos or missing information, please submit a pull request.

Windows User

You need to make sure you have Ruby Devkit Installed (MSYS2).

Running Locally

To run this site locally so that you can test your changes:

$ sudo gem install bundler
$ bundle install

Now, run the local jekyll:

$ bundle exec jekyll serve

and browse to http://localhost:4000

CSS

The CSS uses Less and is managed by grunt.

Install the tool chain:

$ npm install -g grunt-cli
$ npm install

To change any CSS, edit the appropriate files in assets\less and then run:

$ grunt

You can also run grunt watch to automatically rebuild when you make CSS changes.

Build Instructions For Deployment

$ bundle exec jekyll build

Update Algolia Search

Ensure you set the environment variable ALGOLIA_API_KEY before running these commands. See algolia docs for more information

$ bundle install
$ bundle exec jekyll algolia

About

Slim Framework website for GitHub Pages

http://slimframework.com


Languages

Language:JavaScript 46.6%Language:HTML 36.1%Language:CSS 9.9%Language:Ruby 7.4%