Comments (4)
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 ?
- 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) - If we opt for the old
Docker Toolbox
solution (available throughbrew
), 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... - If we opt for the old
Docker Toolbox
solution (available throughbrew
), 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, runbackend
andfront
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
ornodejs
- 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.
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.
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
ordocker-compose are installed
. We may need to uninstall/remove them from the path in aninstall
travis phase because they are there by default.
from opla-v2.
It has been merged already.
from opla-v2.
Related Issues (20)
- Custom welcome message is not exported
- Load/Save/Demo on both playground and webchat
- Backend : delete context when resetConversation
- Disable autocomplete on both webchat and playground input HOT 1
- Middlewares sync issues HOT 1
- Factory settings : put the Save in the menu
- Factory settings : Put bot's parameters in an expansion panel HOT 1
- Admin : advanced error and nothing displayed HOT 3
- Factory Builder : rename tooltips 'TODO insert link' to 'TODO insert intent ref' HOT 1
- Json Webservice connexion HOT 1
- mailto for e-mails appearing in webchat HOT 1
- Redirect image click on webchat/playground HOT 1
- "Button" missing in outputs under category
- Factory : Dashboarding wrongly displayed values
- Typing * or <> in outputs makes @any appear or blocks disappear
- Missing await on bot controller
- topic=MAJ doesn't work
- move intent DnD won't work
- CircleCI Node-Gyp error
- Also when you are in assistant's list, don't display previous chatbot name in hamburger menu and hide the close button. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opla-v2.