Last active
December 9, 2015 13:40
-
-
Save AS87-code/904c36ae619866faefd5 to your computer and use it in GitHub Desktop.
Post/Pre|processor's | Sass, compass, csscomb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install csscomb -g | |
# PhpStorm # | |
https://github.com/csscomb/jetbrains-csscomb | |
Program: csscomb | |
Parameters: $FilePath$ | |
Working directory: $ProjectFileDir$ | |
Create .csscomb.json file in the project root | |
https://github.com/csscomb/csscomb.js | |
http://habrahabr.ru/company/yandex/blog/223503/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#https://gorails.com/setup/ubuntu/14.04 | |
sudo apt-get update | |
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev | |
sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev | |
### using rbenv | |
cd | |
git clone git://github.com/sstephenson/rbenv.git .rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc | |
echo 'eval "$(rbenv init -)"' >> ~/.bashrc | |
exec $SHELL | |
git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc | |
exec $SHELL | |
git clone https://github.com/sstephenson/rbenv-gem-rehash.git ~/.rbenv/plugins/rbenv-gem-rehash | |
rbenv install 2.2.3 | |
rbenv global 2.2.3 | |
ruby -v | |
### using rvm | |
sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev | |
curl -L https://get.rvm.io | bash -s stable | |
source ~/.rvm/scripts/rvm | |
rvm install 2.2.3 | |
rvm use 2.2.3 --default | |
ruby -v | |
-- | |
echo "gem: --no-ri --no-rdoc" > ~/.gemrc | |
gem install bundler | |
gem install compass --pre | |
### if trubl with compass: | |
1. check: apt-get install build-essential | |
2. install: apt-get install libgmp-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo gem install sass | |
$ gem update --system | |
$ gem install compass --pre |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment