Merge pull request #17 from KevinMidboe/filestructure_cleanup
Filestructure cleanup
This commit is contained in:
@@ -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.
|
|
||||||
16
seasoned_api/conf/development.json
Normal file
16
seasoned_api/conf/development.json
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"database": {
|
||||||
|
"host": "shows.db"
|
||||||
|
},
|
||||||
|
"webserver": {
|
||||||
|
"port": 31459
|
||||||
|
},
|
||||||
|
"tmdb": {
|
||||||
|
"apiKey": "9fa154f5355c37a1b9b57ac06e7d6712"
|
||||||
|
},
|
||||||
|
"mail": {
|
||||||
|
"host": "mail.kevinmidboe.com",
|
||||||
|
"user": "kevinmidboe",
|
||||||
|
"password": "Kevinojm94"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "node-api",
|
"name": "seasoned-api",
|
||||||
"main": "src/webserver/server.js",
|
"main": "webserver/server.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "cross-env SEASONED_CONFIG=conf/development.json NODE_PATH=. node src/webserver/server.js"
|
"start": "cross-env SEASONED_CONFIG=conf/development.json NODE_PATH=. node src/webserver/server.js"
|
||||||
},
|
},
|
||||||
@@ -51,7 +51,7 @@ class StrayRepository {
|
|||||||
args: [strayId]
|
args: [strayId]
|
||||||
}
|
}
|
||||||
|
|
||||||
pythonShell.run('moveSeasoned.py', options, function (err, results) {
|
pythonShell.run('app/moveSeasoned.py', options, function (err, results) {
|
||||||
if (err) throw err;
|
if (err) throw err;
|
||||||
// TODO Add error handling!! StrayRepository.ERROR
|
// TODO Add error handling!! StrayRepository.ERROR
|
||||||
// results is an array consisting of messages collected during execution
|
// results is an array consisting of messages collected during execution
|
||||||
4
seasoned_api/src/webserver/access.log
Normal file
4
seasoned_api/src/webserver/access.log
Normal 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"
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
var env_variables = {
|
|
||||||
url : "http://10.0.0.41:31459/api/v1/seasoned/",
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user