prod: passerelle 0.3.0.1 (south)
This commit is contained in:
parent
0c23bb5937
commit
a72d4e3680
|
@ -1,7 +0,0 @@
|
|||
<services>
|
||||
<service name="download_url">
|
||||
<param name="host">repos.entrouvert.org</param>
|
||||
<param name="protocol">http</param>
|
||||
<param name="path">/passerelle.git/snapshot/passerelle-9863723.tar.gz</param>
|
||||
</service>
|
||||
</services>
|
|
@ -45,6 +45,7 @@ INSTALLED_APPS = (
|
|||
'passerelle.repost',
|
||||
'solis',
|
||||
'makorepost',
|
||||
'south',
|
||||
)
|
||||
|
||||
MEDIA_ROOT = '/var/lib/passerelle/media'
|
||||
|
|
Binary file not shown.
|
@ -38,8 +38,22 @@ GUNICORN_OPTIONS="--bind 127.0.0.1:8484 --workers=3"
|
|||
start() {
|
||||
[ -x $DAEMON ] || exit 5
|
||||
|
||||
# CG14 HACK -- first launch after South installation : fake migrations
|
||||
# (to be removed)
|
||||
if test ! -f /etc/passerelle/migrate-fake-done; then
|
||||
# install south tables
|
||||
$SCRIPTNAME manage syncdb --noinput && \
|
||||
$SCRIPTNAME manage migrate --fake --noinput && \
|
||||
touch /etc/passerelle/migrate-fake-done
|
||||
fi
|
||||
if test ! -f /etc/passerelle/migrate-fake-done; then
|
||||
echo "ERR: migrate --fake failed"
|
||||
echo "ERR: /etc/passerelle/migrate-fake-done file"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# install new applications, if any
|
||||
$SCRIPTNAME manage syncdb --noinput
|
||||
$SCRIPTNAME manage syncdb --migrate --noinput
|
||||
|
||||
echo $"Starting $NAME: "
|
||||
daemon $DAEMON --daemon \
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
%define tag 0.3.0
|
||||
%define commit 9863723
|
||||
# si possible, minor = nombre de commit depuis le tag (à la "git describe")
|
||||
%define minor 0
|
||||
%define minor 1
|
||||
|
||||
# si minor == 0
|
||||
#%define version %{tag}
|
||||
|
@ -19,7 +19,7 @@ Summary: Uniform access to multiple data sources and services.
|
|||
Group: Development/Languages
|
||||
License: AGPL
|
||||
URL: https://dev.entrouvert.org/projects/passerelle
|
||||
Source0: passerelle-%{commit}.tar.gz
|
||||
Source0: passerelle-9863723_with-initial-base-migration.tar.gz
|
||||
Source1: passerelle.init
|
||||
Source2: local_settings.py
|
||||
Source3: synchro-wcs-suivi.sh
|
||||
|
|
Reference in New Issue