Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Luis D'Introno
1,172 PointsRun a python and java program from GitHub on my website
My university gave me a homepage, and right now I just uploaded the html files on the server. It has two text areas. What I want is when someone writes some input on the text area and press the button submit the java and python program will run and will modify the text. That modified text will appear in the second textarea. Basically how to run these GitHub programs on my website. Many Thanks
3 Answers
Sam Donald
36,305 PointsGitHub doesn't run backend languages. You could write your JAVA or Python and store it in GitHub for safe keeping and to work on. But you will need to upload them to a server that's been setup with the right environment to get them working. Universities generally have servers setup to handle these requirements on the intranet. I'd contact your tutor/lecturer to see what's available
Sam Donald
36,305 PointsThat's right. If it's for an assignment your University likely has some servers available to you. Otherwise you can contact your hosting provider and see what server environments are available to you. Or try something like this [https://www.pythonanywhere.com/]
Luis D'Introno
1,172 PointsOkay that is nice Thank you. I have my own server on Amazon Web Services my problem is openning the server and setting up the environment. Do you know tutorial for that?
Sam Donald
36,305 PointsI'm not aware of any. A quick google search will find some I'm sure. Amazon probably have some of their own. I believe AWS is a modular service so they probably have a simple 1 or 2 step process for setting up your environment
Luis D'Introno
1,172 PointsLuis D'Introno
1,172 PointsAnd what if I download the files from GitHub. And upload it to the server ? My problem is setting up the server to run this programs.