2015-04-02 01:51:37 +02:00
|
|
|
Contributing to the Sass website
|
2014-04-20 00:31:20 +02:00
|
|
|
================================
|
|
|
|
|
2015-10-14 01:55:29 +02:00
|
|
|
**Please read the [Implementation Guide](http://sass-lang.com/implementation)**
|
2015-04-02 01:51:37 +02:00
|
|
|
The Sass website is open source. See a bug or typo? Have an idea? Just do the
|
2014-04-20 00:31:20 +02:00
|
|
|
following:
|
|
|
|
|
|
|
|
* Check out the style guide for design & code standards.
|
|
|
|
* Write a detailed description of what you're adding in the pull request
|
|
|
|
(screenshots help).
|
|
|
|
* Add any new UI elements to the style guide.
|
|
|
|
* Submit the pull request to the `master` branch.
|
|
|
|
* Drink whisky.
|
|
|
|
|
|
|
|
## Running Locally
|
|
|
|
|
|
|
|
This site is built with [middleman](http://middlemanapp.com), a Ruby framework
|
|
|
|
for building static sites.
|
|
|
|
|
|
|
|
You will need [Ruby](https://www.ruby-lang.org/en/downloads/),
|
|
|
|
[rubygems](http://rubygems.org/) and [bundler](http://bundler.io/) installed
|
|
|
|
before you can run the site locally.
|
|
|
|
|
|
|
|
If the above dependencies are installed, in your command line of preference,
|
|
|
|
navigate to the project repo and run:
|
|
|
|
|
|
|
|
```
|
|
|
|
bundle install
|
2017-06-02 03:53:26 +02:00
|
|
|
bundle exec rake import_sass
|
2015-10-14 04:13:48 +02:00
|
|
|
bundle exec middleman
|
2014-04-20 00:31:20 +02:00
|
|
|
```
|
|
|
|
|
2015-11-27 22:36:53 +01:00
|
|
|
## Deploying
|
|
|
|
|
|
|
|
If you're lucky enough to be one of our deployers, then just run the following
|
|
|
|
command from master branch... and MAKE SURE YOUR WORKING COPY IS CLEAN!
|
|
|
|
|
|
|
|
```
|
|
|
|
rake deploy
|
|
|
|
```
|
|
|
|
|
|
|
|
It's that easy.
|
|
|
|
|
|
|
|
If something goes wrong, make sure to run `rake clean`
|
2014-04-20 00:31:20 +02:00
|
|
|
|
|
|
|
Thanks!
|
|
|
|
|
2015-04-02 01:51:37 +02:00
|
|
|
— [Team Sass Design](http://twitter.com/teamsassdesign)
|