new files

beta.r3js.org
Theunis J. Botha 2017-03-28 13:31:11 +02:00
parent a28dcc710c
commit 25ffe19d77
4 changed files with 37 additions and 4 deletions

View File

@ -23501,3 +23501,12 @@ vim ./update_all
ls -l
m
exit
mongo
exit
r
exit
r
exit
r
sudo service nginx restart
exit

24
build_latest Executable file
View File

@ -0,0 +1,24 @@
#!/bin/bash
#for package in $()
for dir in /usr/share/gamewheel/*/
do
dir_short_name=${dir%*/}
dir_short_name=${dir_short_name##*/}
if [ -d "$dir/.git" ]; then
echo "===========================starting============================ $dir_short_name"
cd $dir
git branch
git pull
if [ -f "bower.js" ]; then
bower install
fi
if [ -f "gulpfile.js" ]; then
gulp build
fi
echo "=============================done=============================="
fi
done
r

View File

@ -21,7 +21,7 @@ server {
add_header Content-Type text/plain;
add_header Access-Control-Allow-Origin $http_origin;
add_header Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS";
add_header Access-Control-Allow-Headers "Authorization, Content-Type";
add_header Access-Control-Allow-Headers "Authorization, Content-Type, x-gamewheel";
add_header Access-Control-Allow-Credentials true;
return 200;
}
@ -41,7 +41,7 @@ server {
add_header Content-Type text/plain;
add_header Access-Control-Allow-Origin $http_origin;
add_header Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS";
add_header Access-Control-Allow-Headers "Authorization, Content-Type";
add_header Access-Control-Allow-Headers "Authorization, Content-Type, x-gamewheel";
add_header Access-Control-Allow-Credentials true;
return 200;
}
@ -58,7 +58,7 @@ server {
add_header Content-Type text/plain;
add_header Access-Control-Allow-Origin $http_origin;
add_header Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS";
add_header Access-Control-Allow-Headers "Authorization, Content-Type";
add_header Access-Control-Allow-Headers "Authorization, Content-Type, x-gamewheel";
add_header Access-Control-Allow-Credentials true;
return 200;
}

View File

@ -75,7 +75,7 @@ var secure = {
liveReloadPort: 3411,
mongodb: {
host: 'mongodb://127.0.0.1',
db: 'tjDB',
db: 'releaseTJ',
port: 27017,
shardPort: 27018,
options: {