Giter Site home page Giter Site logo

[WIP] Feature/install script about opla-v2 HOT 4 CLOSED

opla avatar opla commented on July 21, 2024
[WIP] Feature/install script

from opla-v2.

Comments (4)

licarth avatar licarth commented on July 21, 2024 1

Thinking about this, I think one use case is problematic : The "noob macOS user" that does not know what docker is, but wants to try the app. I believe that, for this kind of users, we could come up with a "deploy to the cloud" button that would deploy Heroku (or similar) dyno serving front and backend. Why ?

  1. If we opt for Docker for Mac, the problem is ne necessity of a GUI installation. See here for details. Testing this through CI/CD seems super difficult if not impossible (see here)
  2. If we opt for the old Docker Toolbox solution (available through brew), it seems like a bit or an overhead to me to install VirtualBox on a noob's machine. He may be a noob but will really wonder why his machine is slow all of a sudden...
  3. If we opt for the old Docker Toolbox solution (available through brew), it seems like a bit or an overhead to me to install VirtualBox on a noob's machine. He may be a noob but will really wonder why his machine is slow all of a sudden. Not too good for our image, I believe.

In a nutshell, I believe that it's best to give our users a choice, depending on how familiar they are different technologies :

  • You have docker already ? Cool, use our single line tool to run Opla, or directly our docker-compose yaml.
  • You don't know what docker is ? or do not want to install it on your machine, but you have node ? Cool, run backend and front natively, again with our single line tool.
  • You do not want anything to be installed on your machine ? Fine, the tool will deploy your demo to Heroku (docker or nodejs - based, but user won't see the difference).
  • You don't like Heroku, you have your own Kubernetes cluster on AWS or GCP ? Fine, use our Kubernetes charts to deploy your community edition.

The idea of a single line tool is good, but if they are not developers, I believe that a Heroku deploy button
is enough, to get an idea of how it works. Something in the middle (i.e. installing things on their local machine that they do not understand, I believe, is not a good idea, and can't think of any other app that does that -- including Wordpress).

Now, the production deployments are another story, but they'll happen in the cloud, where docker is provded.

Side note, I think it's a good idea for the tool to be able to uninstall what it has installed as well.

@mikbry WDYT

from opla-v2.

licarth avatar licarth commented on July 21, 2024 1

From @mikbry on May 7, 2018 17:3

Ok the install script is here to check that docker compose is up and running and not too old. On Linux it could install Docker. On MacOS, it will display the link to install Docker.

Deploy button is the next TODO, and we will use our solution ;-)

from opla-v2.

licarth avatar licarth commented on July 21, 2024

Changing that to WIP again, I suggest:

  • to add a mac OS job to the test stage with os: osx travis feature (https://docs.travis-ci.com/user/reference/osx/#Using-OS-X).
  • to add a linux job to the test phase where neither of docker or docker-compose are installed. We may need to uninstall/remove them from the path in an install travis phase because they are there by default.

from opla-v2.

licarth avatar licarth commented on July 21, 2024

It has been merged already.

from opla-v2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.