Skip to content

Commit

Permalink
Test site: Use 8765 port,
Browse files Browse the repository at this point in the history
for easier memorability.
  • Loading branch information
tchalvak committed May 9, 2016
1 parent 0b05dbd commit 9e089a0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions Makefile
Expand Up @@ -170,8 +170,6 @@ web-start:
${NGINX_PATH} -c `pwd`/deploy/conf/nginx.conf
sleep 0.5
ps waux | grep nginx
# server may be up and running now
# on http://localhost:8775/ or the like

web-stop:
${NGINX_PATH} -c `pwd`/deploy/conf/nginx.conf -s stop
Expand All @@ -183,8 +181,6 @@ web-reload:
${NGINX_PATH} -c `pwd`/deploy/conf/nginx.conf -s reload
sleep 0.5
ps waux | grep nginx
# server may be reloaded now
# on http://localhost:8775/ or the like

ci-pre-configure:
# Set php version through phpenv. 5.3, 5.4 and 5.5 available
Expand Down
2 changes: 1 addition & 1 deletion deploy/conf/nw.local.nginx
@@ -1,6 +1,6 @@
server {
server_name nw.local localhost;
listen 8775;
listen 8765;

root /tmp/root/deploy/www;
charset utf-8;
Expand Down
2 changes: 1 addition & 1 deletion deploy/resources.build.php
Expand Up @@ -15,7 +15,7 @@
define('DEBUG', true); // *** Shorter debugging constant name, set as false on live.
define('SERVER_ROOT', realpath(__DIR__).'/'); // *** The root deployment directory of the game
// Generally for the install purposes the SERVER_ROOT should correspond to /srv/ninjawars/deploy/
define('WEB_ROOT', "http://localhost:8775/"); // *** The base URL used to access the game, http://www.ninjawars.net on live
define('WEB_ROOT', "http://localhost:8765/"); // *** The base URL used to access the game, http://www.ninjawars.net on live
define('ADMIN_EMAIL', "ninjawarsTchalvak@gmail.com"); // *** For logs/emailed errors.
define('SUPPORT_EMAIL', "ninjawarsTchalvak@gmail.com"); // *** For public questions.
define('SUPPORT_EMAIL_NAME', "Ninjawars Tchalvak");
Expand Down

0 comments on commit 9e089a0

Please sign in to comment.