Closed afharvey closed 6 years ago
Love to have you on board and contributing. CI is definitely a weak point in the platform at the moment and I'd love to have true continuous integration and deployment. Ultimately with a live Y-Bot ( or derivative ) that is running on AWS with the latest and greatest grammars for people to see it working in realtime.
Python as a Linux Demon is there in principle, I have a initd script on the Lightsail instance. Its not pretty and happy for some one to take that over and produce a more robust solution. Then AWS should be just the same as LightSail given its the same thing really. I think its more about having a production quality set of scripts AND documentation on the wiki
Docker, I use already on my Mac to give me instances on Rest services when I need them. I started looking at a Docker script but it's not gone very far due to other commitments
So in terms of contribution
K
Added to backlog so closing as not an open issue
Hello, any moved on a docker adaptation of Program-y ? @afharvey have you done something on that ? I'm trying to have a look, but I'm a newbie on Docker. So my dev try would probably be very poor :( I'll be happy to share if I find how docker work and succeed on doing something. O.
Re-opening to allow us to collaborate on getting a docket instance working
Hello, as mentioned I have given a try on building a docker container for program-y. I'm just starting with docker and there are a lot of things that just work like magic (ie. I don't understand everything :) ). Anyway, I don't really know how I can constructively contribute on this git repo, but here are my first explorations:
I have successfully created a container with Centos linux distribution + Python 3.6 + Program-y. And have uploaded to Docker Store what I believe should be testable by anybody in a minute (given that you have docker installed). Unless something goes wrong, it should be as simple as doing:
docker pull ohoachuck/program-y-git-y-bot-webchat
docker run -t -i -p 80:80 ohoachuck/program-y-git-y-bot-webchat
to do so I did nothing complicated, and just wrote a simple Dockerfile
I am going to create a new project called Docker-y and use that to hold various docker config files
Yours will be the first and cents specific.
I will do one for Ubuntu which is the variant I use
We can then start adding client specific ones such as rest, we chat etc
Thanks for all the hard work so far
Hello, talking of "hard work", my work was not hard at all (it was even interesting to finally get to play a bit more with docker - so very useful). It's a good opportunity for me to thank YOUR hard work as program-y is THE HARD WORK here. Really thank you for this cool project. I believe AIML is a real free opportunity to do great conversational interfaces (as this will become a standard for Human Machine Interfaces). Program-y using our heart prefered language Python, with it's extended markups and in particular it's extensions is a truly flexible solution. I'm not really a developer anymore, and more a Marketing guy, but for me this Open Source project is the most promising project I know. There is always an up and a down motivation stage in a project depending of the workload and user gratitude. Be sure that you have my great gratitude for the hard work done so far!
Then here's come also my best wishes for this new year coming. I wish you the expected success of program-y and many awards and gratifications :).
Back to more operational thoughts, I think default y-bot webchat port interface could preferably be 8080 rather than 80 to avoid 1) first time test conflict with existing webserver already running on our poor mac users 80 port, but more for 2) having a default greater than 1024 port used for a non root privileged user on Linux (linked with docker constraints).
O.
BTW in the latest push to master I changed the port back to 8080 for webchat. This was an issue created by me incorrectly by doing a live test support AWS deployment. Anyway now back to 8080
Ok, cool ! O.
On 9 Jan 2018, at 16:46:38, Keith Sterling notifications@github.com wrote:
BTW in the latest push to master I changed the port back to 8080 for webchat. This was an issue created by me incorrectly by doing a live test support AWS deployment. Anyway now back to 8080
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/keiffster/program-y/issues/76#issuecomment-356322665, or mute the thread https://github.com/notifications/unsubscribe-auth/ABfO8b7plkNgeDksZb3cEf0GYLBtJOtFks5tI4negaJpZM4PFkCg.
Hello @keiffster, looking at the kanban board I see some things I could assist with:
Support for Linux ... Use VM instance and deploy to regularly from GitHub Platform ...
Travis or CircleCI (has a free tier) could run all the unit tests followed by a regression in a Linux environment. Both services can be triggered by Github commits.
Python as a Linux Daemon
Maybe as easy as making systemd service file or initd scripts depending on which distros you want to support.
Deploy to AWS Server
EC2 shouldn't be too hard but I'm working on a project where I'd like to use part of program-y on AWS Lambda and later GCP functions.
Finally Docker. Are there any plans for an official image? This is something I'm doing anyway so I'm happy to help.