Beginning debugging for web server
Procfile now launches main.js, which in turn launches web.js and worker.js as exported functions
Changed http.createserver() arguments to make server listen to requests on Heroku (not just locally at 127.0.0.1)
Now runs stably on both local and heroku environments.
Web server modified to return blog-data file (for testing)
Added correct response to POST requests
Initial web server specs written and passing, ready for testing with real twilio data
Bugfix for live twilio testing
Changed port number from 8080 to 80 to solve heroku problem
Trying port 7405 instead
Now using process.env.port to set server listen port for heroku
Should be process.env.PORT, with caps
Visiting root now outputs directory contents for heroku testing purposes
And now returning the 'database' file contents
Now generates a blog at hardcoded URL (/blog)