Skip to content

Commit

Permalink
Finish v0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pinhead84 committed Oct 30, 2018
2 parents a2df3b3 + 61721d5 commit 45853e7
Show file tree
Hide file tree
Showing 170 changed files with 2,366 additions and 8,546 deletions.
16 changes: 14 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
/nbproject/private/
/release/
#.idea/dictionaries/*
!.idea/dictionaries/global.xml

.idea/tasks.xml
.idea/usage.statistics.xml
.idea/workspace.xml

phpdoc/
phpdoc-cache/

release/
src/languages/*.po~
3rdparty/*
!3rdparty/*.sh
11 changes: 11 additions & 0 deletions .idea/OpenEstate-PHP-Wrapper-Joomla.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/dictionaries/global.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/fileTemplates/includes/PHP Class Doc Comment.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/fileTemplates/includes/PHP Field Doc Comment.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/fileTemplates/includes/PHP File Header.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/fileTemplates/includes/PHP Function Doc Comment.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 42 additions & 0 deletions 3rdparty/init-joomla.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#!/usr/bin/env bash
#
# Copyright 2010-2018 OpenEstate.org
#

URL="https://downloads.joomla.org/cms/joomla3/3-8-13/Joomla_3-8-13-Stable-Full_Package.tar.gz?format=gz"

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
TEMP_DIR="$DIR/temp"
JOOMLA_DIR="$DIR/joomla"
set -e

echo ""
echo "Downloading latest version of Joomla..."
mkdir -p "$TEMP_DIR"
rm -Rf "$TEMP_DIR/joomla.tar.gz"
curl -L \
-o "$TEMP_DIR/joomla.tar.gz" \
"$URL"
if [ ! -f "$TEMP_DIR/joomla.tar.gz" ]; then
echo "ERROR: Joomla was not properly downloaded!"
exit 1
fi

echo ""
echo "Extracting Joomla..."
rm -Rf "$JOOMLA_DIR"
rm -Rf "$TEMP_DIR/joomla"
mkdir -p "$TEMP_DIR/joomla"
cd "$TEMP_DIR/joomla"
tar xfz "$TEMP_DIR/joomla.tar.gz"
#mv "$(ls -1)" "$JOOMLA_DIR"
#rm -Rf "$TEMP_DIR/wordpress"
mv "$TEMP_DIR/joomla" "$JOOMLA_DIR"

echo ""
echo "Copying default configuration..."
cp "$JOOMLA_DIR/installation/configuration.php-dist" "$JOOMLA_DIR/configuration.php"

echo ""
echo "Joomla was successfully extracted!"
echo "to: $JOOMLA_DIR"
37 changes: 37 additions & 0 deletions 3rdparty/init-phpexport.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!/usr/bin/env bash
#
# Copyright 2010-2018 OpenEstate.org
#

URL="https://github.com/OpenEstate/OpenEstate-PHP-Export/archive/develop-1.7.tar.gz"

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
TEMP_DIR="$DIR/temp"
PHPEXPORT_DIR="$DIR/phpexport"
set -e

echo ""
echo "Downloading development version of PHP-Export 1.7..."
mkdir -p "$TEMP_DIR"
rm -Rf "$TEMP_DIR/phpexport.tar.gz"
curl -L \
-o "$TEMP_DIR/phpexport.tar.gz" \
"$URL"
if [ ! -f "$TEMP_DIR/phpexport.tar.gz" ]; then
echo "ERROR: PHP-Export was not properly downloaded!"
exit 1
fi

echo ""
echo "Extracting PHP-Export..."
rm -Rf "$PHPEXPORT_DIR"
rm -Rf "$TEMP_DIR/phpexport"
mkdir -p "$TEMP_DIR/phpexport"
cd "$TEMP_DIR/phpexport"
tar xfz "$TEMP_DIR/phpexport.tar.gz"
mv "$(ls -1)/src" "$PHPEXPORT_DIR"
rm -Rf "$TEMP_DIR/phpexport"

echo ""
echo "PHP-Export was successfully extracted!"
echo "to: $PHPEXPORT_DIR"
Loading

0 comments on commit 45853e7

Please sign in to comment.