ColinOrr-Asidua / chitter

Chitter allows developers to share useful information quickly and informally using a social, micro-blogging approach.
0 stars 1 forks source link

Deploy to Azure #6

Open ColinOrr-Asidua opened 10 years ago

ColinOrr-Asidua commented 10 years ago

The application is currently deployed in AppFog, we'd like to move it to Azure. I'd prefer that it ran on their PaaS services, rather than inside a custom VM which we would have to maintain manually.

Database connections are currently configured here https://github.com/ColinOrr-Asidua/chitter/blob/master/db.js. You will almost certainly need to add configuration for Azure.

Finally, all secrets must be kept out of the source code so connection strings, API keys and passwords must be fed to the application via environment variables (or using some other approach).

rogertinsley commented 10 years ago

I've spiked deploying a Node.js application to Azure Websites (PaaS) and it works like a charm.

Sample code - https://github.com/rogertinsley/AzureWebsite-NodeJS Running website - http://mytestnodejsapp.azurewebsites.net

Next on my spike list: Worker role for MongoDb & Socket.IO.