Merge pull request #17 from KevinMidboe/filestructure_cleanup

Filestructure cleanup
This commit is contained in:
2017-08-14 22:50:27 +02:00
committed by GitHub
62 changed files with 23 additions and 7 deletions

View File

@@ -1 +0,0 @@
So to get people to sign up for a account could be to have them sign up for shows that they can be alerted when are added. They can choose by SMS, twitter, email or maybe newsletter.

View File

@@ -0,0 +1,16 @@
{
"database": {
"host": "shows.db"
},
"webserver": {
"port": 31459
},
"tmdb": {
"apiKey": "9fa154f5355c37a1b9b57ac06e7d6712"
},
"mail": {
"host": "mail.kevinmidboe.com",
"user": "kevinmidboe",
"password": "Kevinojm94"
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "node-api",
"main": "src/webserver/server.js",
"name": "seasoned-api",
"main": "webserver/server.js",
"scripts": {
"start": "cross-env SEASONED_CONFIG=conf/development.json NODE_PATH=. node src/webserver/server.js"
},

View File

@@ -51,7 +51,7 @@ class StrayRepository {
args: [strayId]
}
pythonShell.run('moveSeasoned.py', options, function (err, results) {
pythonShell.run('app/moveSeasoned.py', options, function (err, results) {
if (err) throw err;
// TODO Add error handling!! StrayRepository.ERROR
// results is an array consisting of messages collected during execution

View File

@@ -0,0 +1,4 @@
::1 - - [02/Jun/2017:06:34:49 +0000] "GET /api/v1/seasoned/all HTTP/1.1" 200 1016 "-" "curl/7.51.0"
::1 - - [02/Jun/2017:06:34:50 +0000] "GET /api/v1/seasoned/all HTTP/1.1" 200 1016 "-" "curl/7.51.0"
::1 - - [02/Jun/2017:06:45:59 +0000] "GET /api/v1/seasoned/all HTTP/1.1" 200 1016 "-" "curl/7.51.0"
::1 - - [02/Jun/2017:06:48:30 +0000] "GET /api/v1/seasoned/all HTTP/1.1" 200 1016 "-" "curl/7.51.0"

View File

@@ -1,3 +0,0 @@
var env_variables = {
url : "http://10.0.0.41:31459/api/v1/seasoned/",
}