Browse Source

Puppet: collectstatic

producao
Marcio Mazza 10 years ago
parent
commit
9963040abc
  1. 1
      .gitignore
  2. 10
      puppet/manifests/site.pp

1
.gitignore

@ -37,6 +37,7 @@ fotos
*.db
db.*
media/
static
# Ignoring IDE's files
.idea/

10
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

Loading…
Cancel
Save