Ad68c84417f5e91402177857cf0715266f63bb5a
By:
TiagoMia

Instal compass sass on Ubuntu, with Wordpress on LEMP

April 7, 2014 3k views
Hey DigitalOcean community! I'm a beginner, and i apologize in advance if my question sounds non-sense to you guys — I'm just starting, and I would appreciate any kind of help! I normally use Compass ( http://compass-style.org/install/ ) on local development in order to create WordPress themes. Now that I'm using VPS Hosting here for the first time, and i wonder if i can install it on my droplet. I'm running a Ubuntu 12.04, with a WordPress site on LEMP. I also have phpMyAdmin running -- thanks to all the awesome tutorials i found here, it felt quite geek on the terminal, while I was leaning so many great new stuff! Thank you a lot DigitalOceam! You are awesome! Keep it up! Regards from Berlin!
2 Answers
You should be able to get Compass up and running following their instructions that you linked to (http://compass-style.org/install/). They assume that you already have Ruby installed. So if you don't, first run:

apt-get install rubygems

Than install Compass itself with:

gem install compass

And create a project like you normally would:

compass create my_project --syntax sass

Most likely, you won't be creating a new project and hacking directly on your server. Though you might compile on the server when deploying.

Let me know how it goes!
Thank you so much Andrew!

Well I wanted to create a beta version of our page on the server where I could text stuff and then deploy on our production website. In the mean while, i will try this on a local environment:

http://blog.frd.mn/install-nginx-php-fpm-mysql-and-phpmyadmin-on-os-x-mavericks-using-homebrew/

I tried first with MAMP Pro, but i got some error on some Wordpress plugins that i suspected are due to the fact that MAMP uses Apach.. Not really sure on this yet.. I will see..

Best!
Have another answer? Share your knowledge.