Question

Photo of Chris Go

0

Developing on a Mac - possible with Vagrant/Docker?

Hi all,

I am mostly a Unix guy (Java & LEMP & Node) and working on a Mac.  Is there a way to load up a development version of RockRMS on something like Vagrant https://www.vagrantup.com/ to get a Windows environment

If anybody has attempted this, some notes or guidance would be appreciated.  There are some guides like

If there are some extra notes specifically for Rock, that would be appreciated.  Didn't want to create extra challenges :)

  • Might work in Mono?

Maybe (gasp) Docker?

Thanks!


  • Photo of Chris Go

    0

    With some help on Slack (Jim Michael & Peter Schott), the easiest way is to load up a VM (in my case VirtualBox on Mac) and then use a Windows Server 180-Eval ISO (4.2 GB download from Microsoft) and work from there.  https://www.youtube.com/watch?v=w7Wv2pQ_1qE 

    Then for SQL Server, use SQL Developer Edition is now free w/ an MS Dev account (also free)

  • Photo of David Stevens

    0

    I've tried to configure Rock in both Mono and Xamarin Studio with no success.  The biggest issue is that the ActiveDirectory provider and some Windows-specific stuff wouldn't be available.  If you don't care about that, you could fork the repo and remove ActiveDirectory to get it to work.

    Docker should work for IIS and SQL Express, but I think you'd still need a compiler to build the Rock solution.  It's on my list to try (we run a cross-OS platform shop).

    .NET Core 1.0 (completely cross-platform) won't support Rock because it's a Winforms app not MVC.  However, Rock depends on Winforms for page building + on the fly components so it's unlikely it would ever be rewritten as an MVC app.