Skip to content

Commit

Permalink
Change port to 3344; add warning about changing it.
Browse files Browse the repository at this point in the history
Resolves #358
  • Loading branch information
jamesplease committed Dec 27, 2014
1 parent 6941566 commit 56d5146
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ an example file in the directory that shows you the format.

To build and start the development version of the app, run `grunt work -f`.

Once the app is built, you can access it at `http://gistbook.loc:3000`.
Once the app is built, you can access it at `http://gistbook.loc:3344`.

_**Note:** Logging in through Github will only work on port 3344._

### Deploying

Expand Down
2 changes: 1 addition & 1 deletion deploy/ansible/roles/nginx/templates/gistbook.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ server {
client_max_body_size 5M;

location / {
proxy_pass http://localhost:3000;
proxy_pass http://localhost:3344;
}
}
6 changes: 5 additions & 1 deletion server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ const MANIFEST = require('../package.json');
const VERSION = MANIFEST.version;

const VIEWS_DIR = path.join(BASE_DIR, 'views');
const PORT = process.env.PORT || 3000;

// Github authentication will only respond to this port
// during development. Only change the port if you
// don't need to develop with authentication.
const PORT = 3344;

// Start the app
var app = express();
Expand Down

0 comments on commit 56d5146

Please sign in to comment.