I was reading my friend Josh Bavari's blog post on Managing Environment Variables for your Ionic Application where he describes his method for managing variables that change between enviroments (like connection strings and API endpoints). This got me thinking about how I have solved this problem in the past. Since Ionic makes use of Angular you get to apply all of your favorite Angular tips and tricks when you build an Ionic app. The method I'm going to describe can
The new year has begun and with it comes the opportunity for me to set more blogging goals that will probably fall short of achieving.
- Write at least one post per month
Move my blog off WordPress. Probably to Ghost or OctopressMoved my blog to the Ghost platfrom running on Digital Ocean.
- Write an in depth multi-part series about something. Most likely something about Octopus Deploy or building mobile apps with PhoneGap and Angular. Maybe an in depth look
cordova, grunt, phonegap, ripple
These days it seems like a foregone conclusion that every shop probably should be using Agile. Yeah, you read that right: I said Agile with a capital A (as if that's really a thing). You may be using any one of the bajillion agile methodologies out there or a Frankenstein built out of handful of them, but no matter how Xtremely Scrumified your Kanban process is, if you aren't practicing continuous delivery then you are falling short of really practicing
So you're developing your hot new application and you say to yourself "Self, we should Redis because <insert-one-of-many-reasons-redis-is-awesome>". But, like me, you're primarily a Windows person and every time you see instructions look like
$make blah-blah-blah you say "Ewww, I just threw up a little bit in mouth".
Not to worry! I got you covered. Using the fantastic Chocolatey package manager for Windows you can just do:
C:\> cinst redis
...and BAM you've got a local redis
I recently started using Octopus Deploy to manage deployment across environments. They provide a NuGet package called OctoPack that makes it easy to create the required packages to deploy your app. OctoPack is basically just a set of MSBuild targets that get added as an import directive in your project file. This is all fine and good unless you are using the NuGet Package Restore workflow where you don’t commit your NuGet packages to source control. What you end