In short: I want a ready-made webapp framework with a web server and a database in a container, such that I can edit files on my local drive and view the results through a browser pointed at the container - in order to get started with said framework. I want to be writing and viewing webpages within 10 minutes of starting. Seems achievable in theory.

Edit: Since it seems nobody gets it. The reasons for wanting this are:

  1. No local installation of tools to pollute my development environment.

  2. No rebuilding of containers as I change my code, learn, and test out features.

  3. Not using any exotic features or special configuration, so official containers from the distributions should be sufficient.

  4. Clean roadmap to scaling up to a real project. Acts as a template going forward.

  5. Not spending time on tasks that are not relevant to the final goal (configuring a platform that may never be used).

It seems clear to me that a significant portion of development should use containerized runtimes for building/testing, without installing things on the real host. That would avoid a lot of hassles and conflicts, and allows easy revisiting of old development environments.

If that's clear, feel free to skip the rest...

Every few years I check in on the web development world, which I am not involved in. I always bail out because the tools take too long to set up and rarely work without lots of tinkering. I would think by now there should be some simple, turn-key docker-compose solutions that can give a reasonable working setup (ie. Node.js+MySQL, LAMP, etc).

Ideally it would look to a configurable directory on the local disk for the actual code to run, so I can just start working on a project. I am not locked in to any platform, but it should be up and running (serving pages) inside of 10 minutes. Shouldn't have to configure more than a couple ports, passwords, and directories.

I have found tutorials that get halfway to setting it up, but not one actually works as advertised. After having spent the better part of the past two days trying solutions, I am about ready to give up yet again. My goal is not to get into the minutiae of setting up a deployment. I just want to mess around with the frameworks and languages and see what they are capable of and what I might like to use.

Is there something out there I am just not seeing? Is there something that prevents this? Wouldn't this be the preferred method of starting a project for just about everyone, experienced or not?

It seems like a few of the common stacks would be really handy.

If I see something that requires making custom Docker files, I am out. I've been down that road (quite extensively in the supercomputing realm with Singularity), and it seems entirely unnecessary here. The official containers for these tools seem okay, they just need to be integrated and brought up together.

This and this (ignore the terrible politics splashed all over the site) seemed to get close in terms of the goal, but it did not work in practice and needs debugging. Even then, trying it required reading through a lot of unnecessary stuff and copying and pasting pieces of multiple versions of files.

I would think the maintainers of projects would have demo versions ready to go. It would probably attract new users.

In many cases, the final deployment very well may look like the development one, which would be a nice bonus.

Edit 2: Because I haven't gotten an answer here, I asked a similar question elsewhere

  • As I said, I followed some tutorials, but they don't work. And, as I also said, my goal is to just use the framework(s), not to learn about configuring the infrastructure. I have better things to do with my time. – ThisShouldBeSimpleNow Jun 8 '20 at 5:07
  • Did you try any of the fiddle type web sites out there? There is a list of them at fiddles.io – Martin Brown Jun 9 '20 at 7:10
  • glitch.com is another option. – Martin Brown Jun 9 '20 at 7:20
  • Thanks for those suggestions. Some of the fiddles don't work (the C++ domain is down). Not quite what I am looking for anyway, since I can't test out the whole platform (database, web server), the language in isolation doesn't help. Also, looks like the code is public and there isn't a smooth transition into making an actual project I could deploy outside of their ecosystems. I appreciate the response though. – ThisShouldBeSimpleNow Jun 9 '20 at 17:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.