Skip to content

Commit

Permalink
add npm start command
Browse files Browse the repository at this point in the history
  • Loading branch information
stsourlidakis committed Oct 31, 2016
1 parent a99ba7a commit 520cd95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ app.get('/', function(req, res){
res.render('main', {categories: categories});
});

var port = 3000;
var port = 80;
app.listen(port, function () {
console.log('App listening on port '+port+'!');
});
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "A simple editor for the DSG jekyll based website",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node index.js"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 520cd95

Please sign in to comment.