diff --git a/.gitignore b/.gitignore index 389824f..cdc505e 100644 --- a/.gitignore +++ b/.gitignore @@ -37,6 +37,7 @@ fotos *.db db.* media/ +static # Ignoring IDE's files .idea/ diff --git a/puppet/manifests/site.pp b/puppet/manifests/site.pp index b358ab3..2f8eb77 100644 --- a/puppet/manifests/site.pp +++ b/puppet/manifests/site.pp @@ -83,6 +83,16 @@ file { "${sigi_venv_dir}/lib/python2.7/site-packages/reporting": target => "${sigi_venv_dir}/src/geraldo/reporting", } +########################################################################### +# DJANGO + +exec { 'collectstatic': + command => "${sigi_venv_dir}/bin/python manage.py collectstatic --noinput", + cwd => $sigi_dir, +} + +# TODO local_settings.py ... + ########################################################################### # NGINX