Commit 8f9234a1 by Őry Máté

fab: support bower

parent 775b7c5e
......@@ -34,6 +34,15 @@ def pip(env, req):
run("pip install -r %s" % req)
def bower(component=None):
"Install bower component"
with cd("~/circle/circle"):
if component:
run("bower install %s" % component)
else:
run("bower install")
@roles('portal')
def migrate():
"Run db migrations"
......@@ -104,6 +113,7 @@ def update_portal(test=False):
with _stopped("portal", "manager"):
pull()
pip("circle", "~/circle/requirements.txt")
bower()
migrate()
compile_things()
if test:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment