Skip to content

Commit

Permalink
added Procfile
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonGodefroid committed May 11, 2017
1 parent 938782e commit 54d48f3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
2 changes: 2 additions & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
api: node server.js
chat: node serverMessages.js
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
"start": "node server.js && node serverMessages.js",
"start": "nf start",
"dev": "nodemon server.js",
"chat": "nodemon serverMessages.js",
"importData": "node data/importAllocineNowShowingMovies.js && node data/importAllocineComingSoonMovies.js && node data/importUsers.js",
Expand Down
11 changes: 0 additions & 11 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,14 +175,3 @@
// console.log(_.intersection(arrId, array2));

var showtimesData = require("./showtimes.json");

var theaters = showtimesData.map((location, index) => {
return location["place"];
});

var showtimes = showtimesData.map((location, index) => {
return location["movieShowtimes"];
});

// console.log(theaters);
console.log(showtimes);

0 comments on commit 54d48f3

Please sign in to comment.