The best place to *find* answers to programming/development questions, imo, however it's the *worst* place to *ask* questions (if your first question/comment doesn't get any up-rating/response, then u can't ask anymore questions--ridiculously unrealistic), but again, a great reference for *finding* answers.

My Music (Nickleus)


the simplest/easiest web server installation on ubuntu

if you already had python installed on your ubuntu machine, then you're all ready to go! if not, then do this:
sudo apt-get install python

when python is installed, just open a terminal and change directory to the folder where you have some html files you wanna test in a browser, then start the python simple http server:
cd Desktop
python -m SimpleHTTPServer

then open your browser to:

simple as that!

i figured this out because i wanted to test the embedded web chat library.

so, in my Desktop folder i made a file called tlkio.html, with the following contents:
<div id="tlkio" data-channel="mytestwebchatchannel0192837465" style="width:100%;height:400px;"></div><script async src="" type="text/javascript"></script>

so, if i go to this url:

then i can see that the web chat works.

No comments:

Post a Comment