Last active
February 19, 2016 19:06
-
-
Save signalpoint/e828b75914b8c956807b to your computer and use it in GitHub Desktop.
Revisions
-
signalpoint revised this gist
Feb 19, 2016 . No changes.There are no files selected for viewing
-
signalpoint revised this gist
Feb 9, 2016 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,9 @@ #!/bin/bash # @WARNING If you get this error: # cp: cannot overwrite non-directory ‘./docs’ with directory ‘../../7/mobile-application/docs’ # do this: rm /var/www/html/drupalgap.web/daux.io/docs clear # Generates api docs for DrupalGap 7 and 8. -
signalpoint revised this gist
Feb 9, 2016 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,9 @@ #!/bin/bash # @WARNING If you get this error: # cp: cannot overwrite non-directory ‘./docs’ with directory ‘../../7/mobile-application/docs’ # do this: rm /var/www/html/drupalgap.web/daux.io/docs clear # Generates api docs for DrupalGap 7 and 8. -
signalpoint revised this gist
Feb 9, 2016 . 2 changed files with 31 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,16 +5,26 @@ clear echo "==== DRUPALGAP WEB ====" git push origin master echo "==== DRUPALGAP 8 SDK ====" cd 8/app git push origin 8.x-1.x cd ../.. echo "==== DRUPALGAP 8 MODULE ====" cd 8/modules/contrib/drupalgap git push origin 8.x-1.x cd ../../../.. echo "==== DRUPALGAP 7 SDK ====" cd 7/mobile-application git push origin 7.x-1.x cd ../.. echo "==== DRUPALGAP 7 MODULE ====" cd 7/sites/all/modules/contrib/drupalgap git push origin 7.x-1.x cd ../../../../../.. echo "==== DAUX.IO ====" cd daux.io git push origin development This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,11 +2,30 @@ clear echo "==== DRUPALGAP WEB ====" git pull origin master echo "==== DRUPALGAP 8 SDK ====" cd 8/app git pull origin 8.x-1.x cd ../.. echo "==== DRUPALGAP 8 MODULE ====" cd 8/modules/contrib/drupalgap git pull origin 8.x-1.x cd ../../../.. echo "==== DRUPALGAP 7 SDK ====" cd 7/mobile-application git pull origin 7.x-1.x cd ../.. echo "==== DRUPALGAP 7 MODULE ====" cd 7/sites/all/modules/contrib/drupalgap git pull origin 7.x-1.x cd ../../../../../.. echo "==== DAUX.IO ====" cd daux.io git pull origin development cd .. -
signalpoint revised this gist
Feb 9, 2016 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,4 +5,5 @@ node_modules daux.io api docs demo -
signalpoint revised this gist
Jan 23, 2016 . 1 changed file with 8 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,10 +10,16 @@ cd daux.io git status cd .. echo "==== DRUPALGAP 8 SDK ====" cd 8/app git status echo "==== DRUPALGAP 8 MODULE ====" cd ../modules/contrib/drupalgap git status echo "==== JDRUPAL 8 MODULE ====" cd ../jdrupal git status cd ../../../.. echo "==== DRUPALGAP 7 ====" cd 7/mobile-application -
signalpoint revised this gist
Jan 23, 2016 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ #!/bin/bash cd www unzip drupalgap-web.zip rm drupalgap-web.zip -
signalpoint revised this gist
Jan 23, 2016 . 7 changed files with 81 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,3 +3,6 @@ .idea node_modules daux.io api docs This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ #!/bin/bash clear echo "Zipping up local files..." zip drupalgap-web.zip `find docs/ api/ -not -iwholename '*.git*' -print` echo "clearing remote web server..." ssh [email protected] 'bash -s' < remote-clear echo "uploading zip file..." scp drupalgap-web.zip [email protected]:~/www echo "deleting local zip..." rm drupalgap-web.zip echo "unzipping remote files..." ssh [email protected] 'bash -s' < remote-unzip echo "done." This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -21,6 +21,7 @@ echo "Generating DrupalGap 7 api... " ./node_modules/.bin/jsdoc -c 7/mobile-application/docs/jsdoc.json -r mv out/ api/ cd api echo "<?php header('Location: http://api.drupalgap.org/7'); ?>" >> index.php mv out 7 cd .. @@ -31,4 +32,22 @@ cd api mv out 8 cd .. echo "Generating DrupalGap 7 docs... " cp -r daux.io docs/ mv docs/daux.io docs/7 cd docs echo "<?php header('Location: http://docs.drupalgap.org/7'); ?>" >> index.php cd 7 rm -rf .git/ cp -r ../../7/mobile-application/docs . cd ../.. echo "Generating DrupalGap 8 docs... " cp -r daux.io docs/ mv docs/daux.io docs/8 cd docs/8 rm -rf .git/ cp -r ../../8/app/docs . cd ../.. echo "Done" This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,7 @@ #!/bin/bash clear echo "Installing jsdoc..." npm install jsdoc This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ #!/bin/bash clear echo "==== DRUPALGAP WEB ====" git push origin master echo "==== DRUPALGAP 8 ====" cd 8/app git push origin 8.x-1.x cd ../.. echo "==== DRUPALGAP 7 ====" cd 7/mobile-application git push origin 7.x-1.x cd ../.. echo "==== DAUX.IO ====" cd daux.io git push origin development cd .. This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ #!/bin/bash cd www rm -rf api docs This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ #!/bin/bash clear git pull origin master cd 8/app git pull origin 8.x-1.x cd ../.. cd 7/mobile-application git pull origin 7.x-1.x cd ../.. -
signalpoint revised this gist
Jan 23, 2016 . 3 changed files with 76 additions and 18 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,34 @@ #!/bin/bash clear # Generates api docs for DrupalGap 7 and 8. echo "Removing old folders..." if [ -d "docs" ] then rm -rf docs/ fi if [ -d "api" ] then rm -rf api/ fi echo "Making docs and api folders..." mkdir docs api echo "Generating DrupalGap 7 api... " ./node_modules/.bin/jsdoc -c 7/mobile-application/docs/jsdoc.json -r mv out/ api/ cd api mv out 7 cd .. echo "Generating DrupalGap 8 api... " ./node_modules/.bin/jsdoc -c 8/app/docs/jsdoc.json -r mv out/ api/ cd api mv out 8 cd .. echo "Done" This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,24 +1,27 @@ #!/bin/bash echo "Installing jsdoc..." npm install jsdoc echo "Cloning daux.io..." git clone --branch development [email protected]:signalpoint/daux.io.git #echo "Installing DrupalGap 7" #mkdir 7 #cd 7 #git clone --branch 7.x-1.x [email protected]:signalpoint/DrupalGap.git #git clone --branch development [email protected]:signalpoint/daux.io.git #mv daux.io docs #cd docs #ln -s ../DrupalGap/docs docs # #cd ../.. # #echo "Installing DrupalGap 8" #mkdir 8 #cd 8 #git clone --branch 8.x-1.x [email protected]:signalpoint/DrupalGap.git #git clone --branch development [email protected]:signalpoint/daux.io.git #mv daux.io docs #cd docs #ln -s ../DrupalGap/docs docs This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ #!/bin/bash clear echo "==== DRUPALGAP WEB ====" git status echo "==== DRUPALGAP DOCS ====" cd daux.io git status cd .. echo "==== DRUPALGAP 8 ====" cd 8/app git status cd ../.. echo "==== DRUPALGAP 7 ====" cd 7/mobile-application git status cd ../.. -
signalpoint revised this gist
Jan 23, 2016 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,3 +2,4 @@ 8 .idea node_modules daux.io -
signalpoint revised this gist
Jan 23, 2016 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ 7 8 .idea node_modules -
signalpoint created this gist
Jan 22, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ #!/bin/bash echo "Installing jsdoc" npm install jsdoc echo "Installing DrupalGap 7" mkdir 7 cd 7 git clone --branch 7.x-1.x [email protected]:signalpoint/DrupalGap.git git clone --branch development [email protected]:signalpoint/daux.io.git mv daux.io docs cd docs ln -s ../DrupalGap/docs docs cd ../.. echo "Installing DrupalGap 8" mkdir 8 cd 8 git clone --branch 8.x-1.x [email protected]:signalpoint/DrupalGap.git git clone --branch development [email protected]:signalpoint/daux.io.git mv daux.io docs cd docs ln -s ../DrupalGap/docs docs