Working on web admin

Former-commit-id: cc5165cf7a
This commit is contained in:
Jérôme Schneider 2012-05-11 13:59:49 +02:00
parent 68a72fdba2
commit e69bff7810
3 changed files with 40 additions and 3 deletions

3
.gitignore vendored
View file

@ -1,2 +1,3 @@
Specific
Specific/ENABLE_ADMIN Specific/ENABLE_ADMIN
Specific/config.php
Specific/config.system.php

View file

@ -9,6 +9,42 @@ echo "#"
echo "#" echo "#"
BRANCH="mongoose" BRANCH="mongoose"
TARGETFILE="./package.zip" TARGETFILE="/tmp/package.zip"
TEMPDIR="/tmp/baikal-flat-`date +%Y-%m-%d-%H-%M-%S`/" TEMPDIR="/tmp/baikal-flat-`date +%Y-%m-%d-%H-%M-%S`-temp"
TEMPDIRDEREFERENCE="/tmp/baikal-flat-`date +%Y-%m-%d-%H-%M-%S`"
# Export Project
mkdir $TEMPDIR && cd ../../../../ && git archive $BRANCH | tar -x -C $TEMPDIR mkdir $TEMPDIR && cd ../../../../ && git archive $BRANCH | tar -x -C $TEMPDIR
# Dereferencig symlinks
cp -Rf --dereference $TEMPDIR $TEMPDIRDEREFERENCE
rm -Rf $TEMPDIR
TEMPDIR=$TEMPDIRDEREFERENCE
# Jump to tempdir
cd $TEMPDIR
# Cleaning git stuff
rm .gitignore
# Cleaning CoreVersions
rm -Rf CoreVersions
# Cleaning FrameworksVersions
rm -Rf Core/Frameworks/Versions
# Cleaning Resources
rm -f Core/Resources/Web/README.md
rm -Rf Core/Resources/Web/TwitterBootstrap
# Cleaning Scripts
rm -Rf Core/Scripts
rm -Rf Core/Frameworks/Baikal/Scripts
# Cleaning WWWRoot
rm -Rf Core/WWWRoot
rm -Rf Core/Frameworks/BaikalAdmin/WWWRoot
# Cleaning Specific/Virtualhosts
rm -Rf Specific/virtualhosts

BIN
Specific/db/db.sqlite Executable file

Binary file not shown.