master
Nick Sergeant 2011-10-23 23:16:51 -04:00
parent 4204fbbc1a
commit 88dfc45ac7
3 changed files with 11 additions and 9 deletions

13
snipt/fabfile.py vendored
View File

@ -2,7 +2,16 @@ import os
from fabric.api import local
def deploy():
def staticfiles():
BASE_PATH = os.path.dirname(__file__)
local('lessc %s/media/css/style.less %s/media/css/style.css' % (BASE_PATH, BASE_PATH))
local('coffee -c %s/media/js/script.coffee' % (BASE_PATH))
local('coffee -c %s/media/js/script.coffee' % BASE_PATH)
local('%s/manage.py collectstatic' % BASE_PATH)
def deployall()
staticfiles()
deployapp()
def deployapp()
local('hgp')
local('hg push-heroku')

View File

@ -433,6 +433,3 @@ article.snipt footer ul.attrs li.comments {
.hidden {
display: none;
}
body {
background: blue;
}

View File

@ -515,7 +515,3 @@ article.snipt {
.hidden {
display: none;
}
body {
background: blue;
}