test deploy node app without procfile
This commit is contained in:
1 parent
795da11d24
commit
f5f7b8dd7e
5 files changed
+34
No files matched your search
@@ -86,6 +86,10 @@ deploy-test-nodejs-express:
|
|||||||
@echo deploying app...
|
@echo deploying app...
|
||||||
cd tests && ./test_deploy ./apps/nodejs-express dokku.me
|
cd tests && ./test_deploy ./apps/nodejs-express dokku.me
|
||||||
|
|
||||||
|
deploy-test-nodejs-express-noprocfile:
|
||||||
|
@echo deploying app...
|
||||||
|
cd tests && ./test_deploy ./apps/nodejs-express-noprocfile dokku.me
|
||||||
|
|
||||||
deploy-test-php:
|
deploy-test-php:
|
||||||
@echo deploying php app...
|
@echo deploying php app...
|
||||||
cd tests && ./test_deploy ./apps/php dokku.me
|
cd tests && ./test_deploy ./apps/php dokku.me
|
||||||
@@ -111,6 +115,7 @@ deploy-tests:
|
|||||||
@$(QUIET) $(MAKE) deploy-test-java
|
@$(QUIET) $(MAKE) deploy-test-java
|
||||||
@$(QUIET) $(MAKE) deploy-test-multi
|
@$(QUIET) $(MAKE) deploy-test-multi
|
||||||
@$(QUIET) $(MAKE) deploy-test-nodejs-express
|
@$(QUIET) $(MAKE) deploy-test-nodejs-express
|
||||||
|
@$(QUIET) $(MAKE) deploy-test-nodejs-express-noprocfile
|
||||||
@$(QUIET) $(MAKE) deploy-test-php
|
@$(QUIET) $(MAKE) deploy-test-php
|
||||||
@$(QUIET) $(MAKE) deploy-test-python-flask
|
@$(QUIET) $(MAKE) deploy-test-python-flask
|
||||||
@$(QUIET) $(MAKE) deploy-test-scala
|
@$(QUIET) $(MAKE) deploy-test-scala
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
/ nodejs/express
|
||||||
+2
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e; output="$(curl -s -S "$1")"; echo "$output"; test "$output" == "nodejs/express"
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"name": "node-example",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"dependencies": {
|
||||||
|
"express": "2.5.x"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": "0.8.x",
|
||||||
|
"npm": "1.1.x"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"start": "node web.js"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
var express = require('express');
|
||||||
|
|
||||||
|
var app = express.createServer(express.logger());
|
||||||
|
|
||||||
|
app.get('/', function(request, response) {
|
||||||
|
response.send('nodejs/express');
|
||||||
|
});
|
||||||
|
|
||||||
|
var port = process.env.PORT || 5000;
|
||||||
|
app.listen(port, function() {
|
||||||
|
console.log("Listening on " + port);
|
||||||
|
});
|
||||||
Reference in new issue
Block a user