Skip to content

Commit

Permalink
Rename player_service.js to server.js
Browse files Browse the repository at this point in the history
It's NodeJS tradition to name the main entry point server.js

From https://docs.npmjs.com/misc/scripts#default-values :

> If there is a server.js file in the root of your package, then npm
> will default the start command to node server.js.

So, with the main file called server.js you can type `npm start` to run
the server without any extra configuration needed!
  • Loading branch information
sionleroux committed Sep 26, 2016
1 parent 8e22f28 commit 8828ef9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: node player_service.js
web: node server.js
File renamed without changes.

0 comments on commit 8828ef9

Please sign in to comment.