turretcss - A Responsive Front-end Framework for Accessible and Semantic Websites with default HTML elements, created by Scott de Jonge.
To get started, check out http://turretcss.com!
Several quick start options are available:
- Download the latest release.
- Clone the repo:
git clone https://github.com/turretcss/turretcss.git
. - Install with npm:
npm install turretcss
. - Install with yarn:
yarn add turretcss
Read the Getting started page for information on structure, usage, support and more.
Have a bug or a feature request? Please first search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.
View full documentation at: http://turretcss.com/
turretcss's documentation, included in this repo in the docs
directory, is built with Jekyll and publicly hosted on GitHub Pages at https://turretcss.com. The docs may also be run locally.
To use and run the documentation locally, you'll need a copy of turretcss's source files, and Node. To install the required tools follow these steps:
- Download and install Node, which we use to manage our dependencies.
- Navigate to the root
/turret
directory and runnpm install
to install our local dependencies listed in package.json. - Install Ruby, install Bundler with
gem install bundler
, and finally runbundle install
. This will install all Ruby dependencies, such as Jekyll and plugins.
- Windows users: Read this unofficial guide to get Jekyll up and running without problems.
When completed, you'll be able to run the various scripts provided from the command line.
turretcss includes the following commands and tasks:
Task | Description |
---|---|
npm start |
Run npm run watch |
npm run watch |
Watches changes to the /docs directory and builds docs CSS |
npm run build |
Compile and minify the turretcss CSS into /dist . Uses PostCSS, cssnext, and CSSNano. |
npm run docs |
Compile and minify the Docs CSS into /dist . Uses PostCSS, cssnext, and CSSNano. |
turretcss uses Autoprefixer as part of cssnext to automatically add vendor prefixes to some CSS properties at build time.
- Install Install Ruby, install Bundler with
gem install bundler
. - Install Jekyll (the site builder) and other Ruby dependencies with
bundle install
. This will install all Ruby dependencies, such as Jekyll and plugins. - Run
npm start
oryarn start
to rebuild CSS. - From the root
/turret
directory, runbundle exec jekyll serve
in the command line. - Open http://0.0.0.0:2001 in your browser.
Learn more about using Jekyll by reading its documentation.
Should you encounter problems with installing dependencies or running scripts, uninstall all previous dependency versions (global and local). Then, rerun npm install
.
Keep track development updates by following @turretcss on Twitter.
For transparency into our release cycle and in striving to maintain backward compatibility, turretcss is maintained under the Semantic Versioning guidelines.
See the Releases section of our GitHub project for changelogs for each release version of turretcss.
Release announcement posts on the official turretcss blog contain summaries of the most noteworthy changes made in each release.
Scott de Jonge
- Twitter: @scottdejonge
- Github: @scottdejonge
Code and documentation copyright 2017 Bigfish.tv, Code released under the MIT license. Docs released under Creative Commons.