Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Django with compass
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Andrés gutiérrez  
View profile  
 More options Nov 7 2010, 12:57 pm
From: Andrés gutiérrez <andresgut...@gmail.com>
Date: Sun, 7 Nov 2010 18:57:45 +0100
Local: Sun, Nov 7 2010 12:57 pm
Subject: Django with compass

Today what is the best way to work with compass in a Django project. I have
find those app [1] , [2] and [3]
But i would like to know if is other ways to work with compass without
additional software?

Someone has made a step to step tutorial? i have read this [4] but don't
explain how/where comfigure Django to work with Compass

Eric Meyer use Django with Compass + Susy in susy's website. I would like to
use this tools too. But i don't find any resource to do it without add-ons
[1], [2] or [3]

[1] http://bitbucket.org/zacharyvoase/django-compass
[2] https://github.com/drewyeaton/django-orienteer
[3] https://github.com/policus/graphpaper
[4] http://www.feedmagnet.com/blog/grid-design-with-sass/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrés gutiérrez  
View profile  
 More options Nov 7 2010, 1:58 pm
From: Andrés gutiérrez <andresgut...@gmail.com>
Date: Sun, 7 Nov 2010 19:58:15 +0100
Local: Sun, Nov 7 2010 1:58 pm
Subject: Re: Django with compass

El 7 de noviembre de 2010 18:57, Andrés gutiérrez
<andresgut...@gmail.com>escribió:

I'm reading documentation of compass and making some trials.

if i run this:
compass -r susy -f susy <my_project>
I get a deprecated WARNIG:
WARNING: This interface is deprecated. Please use the new subcommand
interface.
See `compass help` for more information.

wel, reading docs i understant that with compass 10.5 i have to make this:
compass create <my_project> --using FRAMEWORK

if i list the available frameworks i get this:
Available Frameworks & Patterns:

  * blueprint
    - blueprint/basic      - A basic blueprint install that mimics the
actual blueprint css.
    - blueprint/buttons    - Button Plugin
    - blueprint/link_icons - Icons for common types of links
    - blueprint/project    - The blueprint framework.
    - blueprint/semantic   - The blueprint framework for use with semantic
markup.
  * compass
    - compass/ellipsis     - Plugin for cross-browser ellipsis truncated
text.
    - compass/extension    - Generate a compass extension.
    - compass/project      - The default project layout.

My question is: Susy is a FRAMEWORK? How can i create a compass project
inside a Django project and use Susy?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrés gutiérrez  
View profile  
 More options Nov 7 2010, 2:20 pm
From: Andrés gutiérrez <andresgut...@gmail.com>
Date: Sun, 7 Nov 2010 20:20:48 +0100
Local: Sun, Nov 7 2010 2:20 pm
Subject: Re: Django with compass

El 7 de noviembre de 2010 19:58, Andrés gutiérrez
<andresgut...@gmail.com>escribió:

Sorry for the question. That is the way i have found:

compass create sass --using susy -r susy -x sass


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Meyer  
View profile  
 More options Nov 8 2010, 2:47 pm
From: Eric Meyer <eriii...@gmail.com>
Date: Mon, 8 Nov 2010 11:47:07 -0800 (PST)
Local: Mon, Nov 8 2010 2:47 pm
Subject: Re: Django with compass
Andres,

We are using Compass with Django, but without any specific integration
between the two. We compile the sass code locally, and check both the
sass and css into our version control. This is not the way Chris
recommends, but it works best for our needs. I'm not sure how all the
Ruby integrations work, so I can't say exactly how are method compares
to that. If you have more questions on the Django end, I can put you
in touch with Carl, who handles all our back-end code.

Cheers,
Eric

On Nov 7, 1:20 pm, Andrés gutiérrez <andresgut...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrés gutiérrez  
View profile  
 More options Nov 9 2010, 4:09 am
From: Andrés gutiérrez <andresgut...@gmail.com>
Date: Tue, 9 Nov 2010 10:09:32 +0100
Local: Tues, Nov 9 2010 4:09 am
Subject: Re: [compass] Re: Django with compass

2010/11/8 Eric Meyer <eriii...@gmail.com>

> Andres,

> We are using Compass with Django, but without any specific integration
> between the two. We compile the sass code locally, and check both the
> sass and css into our version control. This is not the way Chris
> recommends, but it works best for our needs. I'm not sure how all the
> Ruby integrations work, so I can't say exactly how are method compares
> to that. If you have more questions on the Django end, I can put you
> in touch with Carl, who handles all our back-end code.

No, that did the work for me:
compass create sass --using susy -r susy -x sass

Now i have a dir with compass config inside Django proyect.

But i don't know how to change image and js folders:

that is my scenario:

project_root
   |--site_media
     |--img
     |--css
     |--js
     |--sass
        |--sass_files
        |--compiled_css
        |--images
        |--config.rb

Inside my config.rb i try to change my

image_dir = ../img

But that don't work.

Many thanks for your help and for Susy

Cheers,


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steve Schwarz  
View profile  
 More options Nov 9 2010, 8:08 am
From: Steve Schwarz <agilityn...@gmail.com>
Date: Tue, 9 Nov 2010 07:08:28 -0600
Local: Tues, Nov 9 2010 8:08 am
Subject: Re: [compass] Re: Django with compass

2010/11/9 Andrés gutiérrez <andresgut...@gmail.com>

Hi,
For my Django projects I put my sass directory in the root of the project
and the config.rb in the root of the project. To me it is "source" that I
don't want in my site_media. Then my config.rb has paths that are at the
same level or below it in the directory hierarchy.
Best Regards,
Steve
http://tech.agilitynerd.com/

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrés gutiérrez  
View profile  
 More options Nov 9 2010, 8:17 am
From: Andrés gutiérrez <andresgut...@gmail.com>
Date: Tue, 9 Nov 2010 14:17:49 +0100
Local: Tues, Nov 9 2010 8:17 am
Subject: Re: [compass] Re: Django with compass

2010/11/9 Steve Schwarz <agilityn...@gmail.com>

Thanks i'll try that


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Drew Yeaton  
View profile  
 More options Nov 9 2010, 1:57 pm
From: Drew Yeaton <xee...@gmail.com>
Date: Tue, 9 Nov 2010 10:57:59 -0800 (PST)
Local: Tues, Nov 9 2010 1:57 pm
Subject: Re: Django with compass
If you use django-orienteer (checkout [2] above) you could do this and
you wouldn't need to run compass watch while you develop. This is more
or less the reason I made it.

FWIW, at Gowalla we use Sass but run a script locally that uses
FSEvents to watch for changes and compiles if necessary. In Git we
ignore the generated CSS and track the Sass. Also, when we deploy a
script generates CSS from the source on the server.

On Nov 9, 7:08 am, Steve Schwarz <agilityn...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrés gutiérrez  
View profile  
 More options Nov 9 2010, 2:04 pm
From: Andrés gutiérrez <andresgut...@gmail.com>
Date: Tue, 9 Nov 2010 20:04:51 +0100
Local: Tues, Nov 9 2010 2:04 pm
Subject: Re: [compass] Re: Django with compass

2010/11/9 Drew Yeaton <xee...@gmail.com>

> If you use django-orienteer (checkout [2] above) you could do this and
> you wouldn't need to run compass watch while you develop. This is more
> or less the reason I made it.

> FWIW, at Gowalla we use Sass but run a script locally that uses
> FSEvents to watch for changes and compiles if necessary. In Git we
> ignore the generated CSS and track the Sass. Also, when we deploy a
> script generates CSS from the source on the server.

Sound good. But for the moment i'll made the basic with compass wacth and
the css generated only on development.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Markus Gattol  
View profile  
 More options Nov 22 2010, 9:57 am
From: Markus Gattol <markus.gat...@gmail.com>
Date: Mon, 22 Nov 2010 06:57:46 -0800 (PST)
Local: Mon, Nov 22 2010 9:57 am
Subject: Re: Django with compass
Have a look at http://www.allbuttonspressed.com/blog/django/2010/08/Using-Sass-with-...

This does the .sass to .css for you automatically and integrates
nicely into Django


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrés gutiérrez  
View profile  
 More options Nov 22 2010, 10:57 am
From: Andrés gutiérrez <andresgut...@gmail.com>
Date: Mon, 22 Nov 2010 16:57:21 +0100
Local: Mon, Nov 22 2010 10:57 am
Subject: Re: [compass] Re: Django with compass

2010/11/22 Markus Gattol <markus.gat...@gmail.com>

> Have a look at
> http://www.allbuttonspressed.com/blog/django/2010/08/Using-Sass-with-...

> This does the .sass to .css for you automatically and integrates
> nicely into Django

Thanks sound great


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »