This guide will walk you through deploying a Node.js application on Deis.
$ deis create
Creating application... done, created utmost-quadrant
Git remote deis added
$ git push deis master
Counting objects: 182, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (86/86), done.
Writing objects: 100% (182/182), 31.40 KiB | 0 bytes/s, done.
Total 182 (delta 99), reused 168 (delta 93)
-----> Node.js app detected
-----> Creating runtime environment
NPM_CONFIG_LOGLEVEL=error
NPM_CONFIG_PRODUCTION=true
NODE_ENV=production
NODE_MODULES_CACHE=true
-----> Installing binaries
engines.node (package.json): 4.2.x
engines.npm (package.json): unspecified (use default)
Resolving node version 4.2.x via semver.io...
Downloading and installing node 4.2.1...
Using default npm version: 2.14.7
-----> Restoring cache
Skipping cache (new runtime signature)
-----> Building dependencies
Pruning any extraneous modules
Installing node modules (package.json)
[email protected] node_modules/express
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected], [email protected])
-----> Caching build
Clearing previous node cache
Saving 1 cacheDirectories (default):
- node_modules
-----> Build succeeded!
└── [email protected]
-----> Discovering process types
Procfile declares types -> web
Default process types for Node.js -> web
-----> Compiled slug size is 12M
-----> Building Docker image
remote: Sending build context to Docker daemon 12.04 MB
remote: build context to Docker daemon
Step 0 : FROM deis/slugrunner
# Executing 3 build triggers
Trigger 0, RUN mkdir -p /app
Step 0 : RUN mkdir -p /app
---> Running in 1a2d3ba9c884
Trigger 1, WORKDIR /app
Step 0 : WORKDIR /app
---> Running in 69207e2f294e
Trigger 2, ADD slug.tgz /app
Step 0 : ADD slug.tgz /app
---> 70e81b093b39
Removing intermediate container 1a2d3ba9c884
Removing intermediate container 69207e2f294e
Removing intermediate container ce138d0eda28
Step 1 : ENV GIT_SHA d234c9a74dafaece1b01f7606768c74a83259e51
---> Running in 2214fa7e6a7a
---> 1434ea6d5996
Removing intermediate container 2214fa7e6a7a
Successfully built 1434ea6d5996
-----> Pushing image to private registry
-----> Launching...
done, utmost-quadrant:v2 deployed to Deis
http://utmost-quadrant.local3.deisapp.com
To learn more, use `deis help` or visit http://deis.io
To ssh://[email protected]:2222/utmost-quadrant.git
* [new branch] master -> master
$ curl http://utmost-quadrant.local3.deisapp.com
Powered by Deis