Commit 664f3434 by Kálmán Viktor

circle: pipeline doc fixes

parent b0fd61ef
...@@ -71,10 +71,17 @@ def compile_messages(): ...@@ -71,10 +71,17 @@ def compile_messages():
run("./manage.py compilemessages") run("./manage.py compilemessages")
def compile_less():
"Compile LESS files"
with _workon("circle"), cd("~/circle/circle"):
run("./manage.py compileless")
@roles('portal') @roles('portal')
def compile_things(): def compile_things():
"Compile translation and collect static files" "Compile translation and collect static files"
compile_js() compile_js()
compile_less()
collectstatic() collectstatic()
compile_messages() compile_messages()
......
...@@ -35,7 +35,8 @@ Update the package lists, and install the required system software:: ...@@ -35,7 +35,8 @@ Update the package lists, and install the required system software::
sudo apt-get update sudo apt-get update
sudo apt-get install --yes virtualenvwrapper postgresql git \ sudo apt-get install --yes virtualenvwrapper postgresql git \
python-pip rabbitmq-server libpq-dev python-dev ntp memcached \ python-pip rabbitmq-server libpq-dev python-dev ntp memcached \
libmemcached-dev gettext wget pwgen nginx libmemcached-dev gettext wget pwgen nginx npm
sudo npm -g install bower less yuglify
Set up *PostgreSQL* to listen on localhost and restart it:: Set up *PostgreSQL* to listen on localhost and restart it::
......
...@@ -62,7 +62,7 @@ Update the package lists, and install the required system software:: ...@@ -62,7 +62,7 @@ Update the package lists, and install the required system software::
sudo apt-get install --yes virtualenvwrapper postgresql git \ sudo apt-get install --yes virtualenvwrapper postgresql git \
python-pip rabbitmq-server libpq-dev python-dev ntp memcached \ python-pip rabbitmq-server libpq-dev python-dev ntp memcached \
libmemcached-dev npm libmemcached-dev npm
sudo npm -g install bower less sudo npm -g install bower less yuglify
Set up *PostgreSQL* to listen on localhost and restart it:: Set up *PostgreSQL* to listen on localhost and restart it::
......
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