Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2014-01-10 17:53:14

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 811
Website

Textpattern and SASS ... how to?

What’s the best workflow to work with Txp and SASS? Locally it can be done via MAMP and a compiler app (Compass.app), but what to do when the site is running on a server elswhere and you want to finetune grid, type, etc?

Offline

#2 2014-01-10 20:27:42

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: Textpattern and SASS ... how to?

Offline

#3 2014-01-11 10:58:52

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Textpattern and SASS ... how to?

Do you want to compile the Sass locally or on the server? For most sites I simply compile local and upload the final CSS file, unless it’s a collaborative project.

For this forum we compile directly on the server via Grunt (we also use Compass as part of that toolset). Take a look at the forum repo if you want to see how it works.

Note: You’ll need to install Ruby on your server if you want to go down that route, as that’s what Sass (and Compass) is written in.

Offline

#4 2015-01-07 16:42:49

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 811
Website

Re: Textpattern and SASS ... how to?

One year later … and I’m developing almost every site locally on my MBP with the help of MAMP, Codekit (compiler), Brackets, Textpattern and Foundation. Chrome is my dev browser (Developer Tools). When the site is client proof all files are uploaded on the server and from there, most of the time, I only have to upload the css file(s) (Transmit) to make the site web ready. It’s still a bit of a hassle but nevertheless let’s call it a workflow … :-\

Last edited by RedFox (2015-01-09 19:18:18)

Offline

Board footer

Powered by FluxBB