Nov-07-2019, 02:01 AM
Woo! It worked ok here's what I did:
It's kind of a hybrid of the tutorial, your advice, the thread you linked me too, and a line from another forum where I asked this question haha:
However what I did wrong (before I posted this post) was; instead of doing nano ~/.bashrc I just overwrote /usr/bin/python /usr/bin/python3
Probably wasn't a good idea, right. I still have the python2 executable so I could just copy /usr/bin/python2 over /usr/bin/python. But I won't bother until something else on the system breaks. (This is on my workstation PC running ubuntu.)
Anyway- all of that git stuff and the .tar.gz file and the "make"- I know how to do that stuff but I figure this is good enough; I don't need something that fancy.
So unless you've got something to add I'll go ahead and mark this solved, yes?
Thanks Larz60.
It's kind of a hybrid of the tutorial, your advice, the thread you linked me too, and a line from another forum where I asked this question haha:
sudo apt-get install python3-venv python3 -m venv ./myapp cd myapp source bin/activateAnd then subsequently:
uwsgi --socket 0.0.0.0:8080 --protocol=http -w wsgiAnd then in the browser it was able to talk to my hello world app.
However what I did wrong (before I posted this post) was; instead of doing nano ~/.bashrc I just overwrote /usr/bin/python /usr/bin/python3
Probably wasn't a good idea, right. I still have the python2 executable so I could just copy /usr/bin/python2 over /usr/bin/python. But I won't bother until something else on the system breaks. (This is on my workstation PC running ubuntu.)
Anyway- all of that git stuff and the .tar.gz file and the "make"- I know how to do that stuff but I figure this is good enough; I don't need something that fancy.
So unless you've got something to add I'll go ahead and mark this solved, yes?
Thanks Larz60.