allReady icon indicating copy to clipboard operation
allReady copied to clipboard

Investigate (and Create?) Container Images with Requisite Tools to Contribute

Open MisterJames opened this issue 7 years ago • 7 comments

We have had a couple of requests that the start-up process can be a bit intimidating.

For those who live in a containerized world, having a Docker image or Azure VM that was prepped to go would be a handy way to jump into a pre-configured world of allReady.

Admittedly, I'm not well enough versed in this area to know how big this task is. We are looking for an SME that would be willing to offer some advice and/or create an easy "on-ramp" to help other who would like to contribute to allReady.

MisterJames avatar Jan 18 '18 02:01 MisterJames

There's instructions for using a docker image for sql server for Linux / Mac. This could be used for devs running Windows too who don't have sql or are not wanting to install it. For the nodejs and other tools it is a bit more complicated. I started a box starter script for installing the pre reqs on a new machine. I'll try and find the link and post it here.

jonparker avatar Jan 18 '18 04:01 jonparker

I'm wondering if providing a linux docker image with Nodejs, Rider and SQL server pre-installed would help... I'm wondering if people are finding it difficult due to not being familiar with Node/Git/Visual Studio/MS SQL Server.

jonparker avatar Jan 18 '18 09:01 jonparker

@jonparker I know for sure that would have helped at a few of our code-a-thons.

As far as distribution goes, we'd likely want to set such images up through a CDN or similar, right? Should I start getting some accounts together? If so, who are the popular hosts/registries?

MisterJames avatar Jan 18 '18 15:01 MisterJames

hub.docker.com account would be good for docker images. For boxstarter you don't need an image as it's a script that downloads everything for you.

Potentially we could do a azure image too but it's probably not worth it unless there's a need for people to develop in a VM.

I think we should solve the problem of setting up a local/container environment first.

jonparker avatar Jan 18 '18 15:01 jonparker

Here's the link to the boxstarter script for setting up an environment for the mobile app development.

https://gist.github.com/jonparker/3f45edbd7eb17ba02c783d9e3b91bb23

jonparker avatar Jan 18 '18 15:01 jonparker

Wouldn't something like this help https://docs.docker.com/compose/aspnet-mssql-compose/

Workflow for a user would be something like this:

  1. Clone the allready repo
  2. Run docker "docker-compose up" and that should set everything up to run the the Allready Web app.

I haven't worked on the mobile app so I'm not that familiar with that.

mk0sojo avatar Jan 18 '18 15:01 mk0sojo

Had a go at creating docker support for debugging. Any feedback welcome.

mk0sojo avatar Jan 27 '18 21:01 mk0sojo