O'Reilly logo

Building Scalable Apps with Redis and Node.js by Joshua Johanan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

Our application is slowly becoming more maintainable. We have created some much-needed tests and automated them. Before this chapter, we could only start the application from localhost. Now, it is ready to be deployed to different environments. We did this by extracting out all the differences between environments (URLs, connection strings, and app IDs are some). Then, we used Grunt to create automated tasks that build the application for each environment. The tasks also force us to use best practices when doing this. Finally, we scripted these tasks so that each one would only consist of one command instead of three to four for each.

In the next chapter, we will actually deploy our application somewhere other than localhost.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required