Commit 445a2148 by Kálmán Viktor

Merge branch 'pipeline-docs' into 'master'

Pipeline doc fixes 

See merge request !277
parents b0fd61ef a6acad5b
...@@ -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 nodejs-legacy
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::
......
...@@ -61,8 +61,8 @@ Update the package lists, and install the required system software:: ...@@ -61,8 +61,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 npm libmemcached-dev npm nodejs-legacy
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