This is the repository for the Slim website (slimframework.com).
If you spot any errors, typos, or missing information, please submit a pull request.
Unless otherwise stated, the documentation follows the AP Stylebook.
You need to make sure you have Ruby Devkit Installed (MSYS2).
To run this site locally so that you can test your changes:
$ sudo gem install bundler
$ bundle installNow, run the local Jekyll installation:
$ bundle exec jekyll serveThen, browse to http://localhost:4000 in your browser of choice.
The CSS uses Less and is managed by grunt.
Install the tool chain:
$ npm install -g grunt-cli
$ npm installTo change any CSS, edit the appropriate files in assets\less and then run:
gruntYou can also run grunt watch to automatically rebuild when you make CSS changes.
bundle exec jekyll buildEnsure you set the environment variable ALGOLIA_API_KEY before running these commands.
See algolia docs for more information.
bundle install
bundle exec jekyll algolia