Working on web admin
This commit is contained in:
parent
36aedd1b49
commit
cc5165cf7a
3 changed files with 40 additions and 3 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
Specific
|
||||
Specific/ENABLE_ADMIN
|
||||
Specific/config.php
|
||||
Specific/config.system.php
|
||||
|
|
|
@ -9,6 +9,42 @@ echo "#"
|
|||
echo "#"
|
||||
|
||||
BRANCH="mongoose"
|
||||
TARGETFILE="./package.zip"
|
||||
TEMPDIR="/tmp/baikal-flat-`date +%Y-%m-%d-%H-%M-%S`/"
|
||||
TARGETFILE="/tmp/package.zip"
|
||||
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
|
||||
|
||||
# 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
BIN
Specific/db/db.sqlite
Executable file
Binary file not shown.
Loading…
Reference in a new issue