Jun 17th, 2014 This is the first of two posts. This post covers a somewhat detailed tutorial on using Docker as a replacement for Vagrant when developing a Node app using the Express framework. To make things a bit non-trivial, the app will persist session information in Redis using the connect-redis middleware. The second post will cover productionizing this development setup. The Node App package.json .gitignore 1 node_modules/* package.json 1 2 3 4 5 6 7 8 9 10 11 { "name": "docker-dev", "version": "0.1.0", "description": "Docker Dev", "dependencies": { "connect-redis": "~1.4.5", "express":
Read full article from Develop a NodeJS app with Docker - sqldump
No comments:
Post a Comment