#5 P1:Practical:Running your Own Web-Server | Introduction to Modern Application Development

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ม.ค. 2025

ความคิดเห็น • 127

  • @rajeshramadoss4928
    @rajeshramadoss4928 7 ปีที่แล้ว +19

    Hi All, I have done this successfully in windows 10 (for that sake, should work in xp or win7 too). If you are too confused with doing everything in command prompt, then follow these steps.
    1. Install nodejs from nodejs.org site (use chrome).
    2. After you install nodejs, close any other CMD window (command line editor) that you opened previously (keeping this open will not harm butt confuse).
    3. Go to start -> Programs or the window symbol in right bottom corner to see list of programs, see nodejs there in the list, don't click that but click the dropdown and then command prompt there (just another command window).
    4. Now try the npm command that Tanmai mentioned here.
    After the above steps, everything shown here will work like a charm. Even I created an html page and accessed it from my mobile in same wifi network and it worked so quick. :)
    Note: This is my 1st ever course online and comment in youtube, so do forgive my short forms and appreciate my effort. :)

    • @BearCartel04
      @BearCartel04 7 ปีที่แล้ว

      what is npm command that thanmai mentioned?

    • @nikhil944641116900
      @nikhil944641116900 7 ปีที่แล้ว

      while trying npm command.. its showing msg.. is not recognozed as internal or external commands

    • @BearCartel04
      @BearCartel04 7 ปีที่แล้ว

      nikhil dharman ya its showing what to do next?

    • @nikhil944641116900
      @nikhil944641116900 7 ปีที่แล้ว +1

      ok do the following...
      just search
      "Node.js command prompt" and open it,. then paste the command.. it may work

    • @BearCartel04
      @BearCartel04 7 ปีที่แล้ว

      nikhil dharman thanks

  • @harshant1
    @harshant1 2 ปีที่แล้ว

    This is where I started my journey, currently working as sde2 at Amazon

  • @renitafernandes7836
    @renitafernandes7836 8 ปีที่แล้ว +1

    wow...this was very easy to understand...also because I have a little basic knowledge...but it definitely cleared up major concepts for me....thanks!!

  • @shalinichaurasia6871
    @shalinichaurasia6871 6 ปีที่แล้ว

    for windows
    1.) after installing both of these
    2.) searched for node.js command prompt and type d http server command there it installed sucessfully
    3.)wrote the following equivalent commands
    a. mkdir web
    b. cd web
    c. dir (ls, showed 0 file)
    d. dir>myfile.txt (to make a new txt file)
    e.start notepad "myfile.txt" (open the file on notepad, u can also skip the (d.) command and directly write (e.) it will open as well as make new file if its not already present there)

  • @aanandhivb
    @aanandhivb 8 ปีที่แล้ว +9

    Could have showed command prompt as well
    had to rely on other sources for editing in command prompt

    • @prashanthvaidya1358
      @prashanthvaidya1358 8 ปีที่แล้ว +1

      You could have simply used Git Bash or any Linux based terminal compatible with windows.
      And, win 10 now supports a full linux command prompt.

    • @viharcontractor1679
      @viharcontractor1679 7 ปีที่แล้ว +3

      Prashanth Vaidya The Problem is that not everyone exactly understands what are those, And some people are even from different fields than IT, So they have little to no idea about what Tanmai is talking about.

    • @pramodkumart.k.8953
      @pramodkumart.k.8953 7 ปีที่แล้ว +1

      Appreciate your post in the discussion forum.......Great effort made to make it very clear for windows users

    • @viharcontractor1679
      @viharcontractor1679 7 ปีที่แล้ว +1

      Pramod Kumar Happy to help where I can, When I can :)

  • @rvkentertainment7762
    @rvkentertainment7762 8 ปีที่แล้ว

    Hi Tanmai!
    Great video.
    Awake @ 04:00? Working the entire early morning(02:00 AM+)?
    I too find myself as night owl!!!

  • @Sethu90Tube
    @Sethu90Tube 5 ปีที่แล้ว

    In windows we need to use node.js command prompt rather than using regular command prompt.Nodejs command prompt comes with installing nodejs from website as mentioned in video.

  • @himanshdubey
    @himanshdubey 7 ปีที่แล้ว

    Hello, need help with the txt in the terminal. Once I have written the text in the mk.txt file what needs to be done. I am actually new to this so don't know much about the commands.

  • @abhisheksunkara631
    @abhisheksunkara631 8 ปีที่แล้ว +1

    "database and programming languages is not required in making a simple web server ,Why?"
    AT 2:07

  • @muralidhar40
    @muralidhar40 4 ปีที่แล้ว

    You were speaking of setting up a file server (I assumed an FTP server), but ended up setting http-server. I do not understand that. Could you care to elaborate, Sir.

  • @vigneshvaidyanathan7787
    @vigneshvaidyanathan7787 8 ปีที่แล้ว +2

    I couldn't understand the commands he was typing it was fast and at end can someone tell me what i am suppose to do as it was overwhelming for me to understand all at once.

  • @dhavalkprajapati8596
    @dhavalkprajapati8596 7 ปีที่แล้ว

    hey tanmay i cant write anything in command prompt as you are writing that ls and all. I have Dell laptop with Windows 8 version so how can I write that all?

  • @pramodkumart.k.8953
    @pramodkumart.k.8953 7 ปีที่แล้ว +3

    It is important that the presenter is aware that all are not well versed with Command prompts. Why don't you incorporate this as part of the slides you have given especially for windows? The pace of presentation should take care that the learner wants to check himself whatever is told. Hope there will be improvement in presentation.

  • @LoveforLearning2022
    @LoveforLearning2022 7 ปีที่แล้ว

    Its nice. With a little effort and interest, its easy to do on windows also..

  • @gopal.thadikamalla7298
    @gopal.thadikamalla7298 7 ปีที่แล้ว

    Hi, this is Gopal. Which OS was used for Linux software in Ur computer? and please list out what preceding softwares want to use during this course?

  • @vinayvikram2999
    @vinayvikram2999 8 ปีที่แล้ว +2

    Tanmai why dont use windows ...its been to differ of code in mac and window...
    few codes are not working in cmd..

  • @dineshtripathi9880
    @dineshtripathi9880 8 ปีที่แล้ว +2

    Pls if possible use window os cmd.. The instructions for window cmd are quite different from Mac OS cmd..But still the tutorial is really helpful..

  • @allwynization
    @allwynization 8 ปีที่แล้ว +2

    can you show the same for command prompt...

  • @ackshaya8231
    @ackshaya8231 8 ปีที่แล้ว

    should I use command prompt if I've to use it in windows?

  • @vijayvasudevan3715
    @vijayvasudevan3715 7 ปีที่แล้ว +8

    this important key words I did'nt see
    Equivalent Commands for Windows-
    ls == dir /b
    ls -l == dir
    cd == cd
    mkdir == mkdir / md
    open . == explorer .
    vim == notepad
    du -hs * == dir

    • @punitjha6599
      @punitjha6599 6 ปีที่แล้ว

      Vijay Vasudevan
      http-server not installing in command prompt

  • @pournamikenoth6052
    @pournamikenoth6052 7 ปีที่แล้ว +1

    hey I am not able to post anything on Course Discussion Group! even though I have joined it. The 'New Question' doesn't even appear even though I have logged in. Please help!!!

  • @abhiruchikhandelwal9235
    @abhiruchikhandelwal9235 7 ปีที่แล้ว

    i have windows 10. npm is not working on it.. it says npm is not recognized as an internal or external command

  • @MrAraviind
    @MrAraviind 6 ปีที่แล้ว

    created two files respectively and was smooth till the creation of the second terminal. the second terminal is unable to find the directory/the text i created in it. would be happy if u can elaborate more on it.

  • @srujanachavala
    @srujanachavala 7 ปีที่แล้ว

    is there any chance of uploading a video on this topic related to windows software?

  • @skandasharma
    @skandasharma 8 ปีที่แล้ว +4

    One request, why can't just add another slide so that people using windows or linux can also install these Software's...

    • @rajkumbhar2022
      @rajkumbhar2022 8 ปีที่แล้ว

      btw..its very good chance for the windows and linux users to install
      these Softwares own ...what say ?

  • @gauravrahangdale1962
    @gauravrahangdale1962 8 ปีที่แล้ว

    Are commands in windows are same as Mac?

  • @AdityaGudla
    @AdityaGudla 8 ปีที่แล้ว

    Thanks for such clean explanation. Loved it

  • @thoughtfulsd
    @thoughtfulsd 8 ปีที่แล้ว

    hi.. can you please elaborate on the concepts of static IP and dynamic IPS. why is that IPs over a LAN is dynamic but over the internet becomes static..

  • @Thelittlemaan
    @Thelittlemaan 7 ปีที่แล้ว

    i have executed everything but it doesn't show up what i have typed.please help

  • @vaibhavnarkhede1079
    @vaibhavnarkhede1079 7 ปีที่แล้ว +1

    please tell me commands to operate the same which u did on apple terminal on my windows pc

    • @harsshavardan389
      @harsshavardan389 7 ปีที่แล้ว

      To change directories: cd "Folder_Name"
      To list all files/folders in the current directory: dir

    • @harsshavardan389
      @harsshavardan389 7 ปีที่แล้ว

      Credits to Sai Shekhar

  • @gouthamkumar102
    @gouthamkumar102 7 ปีที่แล้ว +1

    when ever I type commands like ls or vim it shows
    "is not recognized as an internal or external command.
    operable program or batch file."
    What to do???
    I even I did'nt get the dollar prompt
    please leave me a reply

    • @ankitaraut6948
      @ankitaraut6948 7 ปีที่แล้ว

      facing the same problem

    • @nar3n0
      @nar3n0 7 ปีที่แล้ว

      A.G.K. Goutham that vim is a mac os software, if u r using Windows u should try notepad instead of vim. and I don't know about ls , it doesn't work for me either

    • @masterpieceharish
      @masterpieceharish 7 ปีที่แล้ว

      A.G.K. Goutham me too

    • @masterpieceharish
      @masterpieceharish 7 ปีที่แล้ว

      ankita raut for me LS is also not working

    • @nar3n0
      @nar3n0 7 ปีที่แล้ว

      Harish S for ls windows users use dir

  • @memoirsbyniti
    @memoirsbyniti 7 ปีที่แล้ว

    Hi, I am not able to create text file using VIM.. I can insert the text however dont know how shall i close it .. It only shows Insert with no changeable option

    • @memoirsbyniti
      @memoirsbyniti 7 ปีที่แล้ว

      found the answer Enter the following command (type :x and press Enter key):

    • @umaiyer
      @umaiyer 7 ปีที่แล้ว

      i tried doing this but no results

    • @rickyraghavan6802
      @rickyraghavan6802 7 ปีที่แล้ว

      In order to close the Vim Editor, press "Escape" and type ":wq"

    • @umaiyer
      @umaiyer 7 ปีที่แล้ว

      Ricky Raghavan thanks😊

  • @priyankbhardwaj3385
    @priyankbhardwaj3385 8 ปีที่แล้ว

    Can you please demonstrate it on Windows/Linux platform??Would be a great help!!!

  • @vishwaklatha
    @vishwaklatha 7 ปีที่แล้ว

    Hi
    Can someone help me install httpserver in windows 10. I have installed node.js and trying to install httpserver but getting an error while I try to do ....
    npm install -g httpserver
    getting error

  • @prasannakumarshetty9060
    @prasannakumarshetty9060 7 ปีที่แล้ว

    sir i am using linux os and firefox and how can edit my profile?

  • @poojahg5519
    @poojahg5519 7 ปีที่แล้ว

    though I downloaded nodejs and using its command prompt, ls, vim etc are not working! I'm using windows and pls let me know the exact commands. it would be really helpful.

    • @way2prosperity
      @way2prosperity 7 ปีที่แล้ว

      use ..
      notepad name.txt
      and to write the text "I am here "into the text file use..
      echo "I am here"> name.txt

    • @vishwaklatha
      @vishwaklatha 7 ปีที่แล้ว

      true vim doesn't work in windows so unable to follow what command should I use.
      Also getting errors while trying to install http server in windows using npm install -g httpserver

  • @krshrivaibavi4004
    @krshrivaibavi4004 7 ปีที่แล้ว

    how to do the same thing by using windows 10 os with Apache server and command prompt.
    some commands vary in command prompt & terminal, hence
    pls make a video of it and post it sir.

  • @aswinkumar8922
    @aswinkumar8922 7 ปีที่แล้ว

    hi ,i m using win 7 ,i can't able to paste the server link in node app

  • @rushibutley8477
    @rushibutley8477 8 ปีที่แล้ว

    Hello sir,
    sir i am 6 days late but i want to join this course i have already covered the videos which are taught in the week .
    so is there any way i can register for this sept only .

    • @way2prosperity
      @way2prosperity 7 ปีที่แล้ว

      the last date for registration is extended to jul 31..i think so..

  • @abhijithkrishnag8842
    @abhijithkrishnag8842 8 ปีที่แล้ว

    can u pls give the same commands for windows???

  • @tthecooljose4674
    @tthecooljose4674 8 ปีที่แล้ว

    16:55 I missed the opportunity by not joining the course..

  • @buddyup5445
    @buddyup5445 8 ปีที่แล้ว

    a great teach, gaurav! thank you

  • @smithbhavsar1719
    @smithbhavsar1719 7 ปีที่แล้ว

    Hello,
    Sir when is add http-sever command in my windows's command prompt.... It says that 'npm' is not recognized as internal or external command and m nt anle to proceed
    Please help

    • @rickyraghavan6802
      @rickyraghavan6802 7 ปีที่แล้ว

      It's because you haven't Installed npm. Please Install npm by going to their website and then install http-server by typing that command.

  • @itsme_ng
    @itsme_ng 7 ปีที่แล้ว

    which ide u used to develop these apps???
    android studio???

    • @Arjungulzzz
      @Arjungulzzz 7 ปีที่แล้ว

      Android studio is used to make just java based mobile applications. IDE can be a simple text editor too

    • @itsme_ng
      @itsme_ng 7 ปีที่แล้ว

      but actually i want to ask u which software u will use in this course?????
      because i ill download this.......

    • @Arjungulzzz
      @Arjungulzzz 7 ปีที่แล้ว

      http-server and node

    • @itsme_ng
      @itsme_ng 7 ปีที่แล้ว

      ok thank u sir.......

  • @sarcaastech
    @sarcaastech 6 ปีที่แล้ว

    these command not working on windows command prompt

  • @AKSinghgoogler
    @AKSinghgoogler 8 ปีที่แล้ว +2

    u should have used windows.. as most Indians are window users!!! otherwise great work \m/

  • @athiram8240
    @athiram8240 7 ปีที่แล้ว +2

    how to do in window 7(web app)

  • @shivanigangadharan8750
    @shivanigangadharan8750 7 ปีที่แล้ว

    Hi! I couldn't figure out the answer to the quick ex. Could anyone please tell me why a programming lang or a database is not reqd while running our web server?

    • @sidhuparas
      @sidhuparas 7 ปีที่แล้ว +1

      Watch the full video. Answer is there. This is because we're serving static files located on our own system

  • @viraj_singh
    @viraj_singh 8 ปีที่แล้ว

    It worked very well. Thanks a lot!!

  • @dharanidharguntupalli3305
    @dharanidharguntupalli3305 8 ปีที่แล้ว

    Can someone post a video on how to do this in windows?

  • @annavimathi6843
    @annavimathi6843 8 ปีที่แล้ว

    sir i don"t get audio

  • @LoveforLearning2022
    @LoveforLearning2022 7 ปีที่แล้ว

    Yes if possible explain on windows.

  • @deepakarora3169
    @deepakarora3169 7 ปีที่แล้ว

    plece help me how this can be done using Windows 8

  • @vishwaklatha
    @vishwaklatha 7 ปีที่แล้ว

    RadhikaBandaru has repied but after installing nodejs too it didn't work

  • @indira315
    @indira315 7 ปีที่แล้ว +1

    hi, HAS ANYONE DONE THE EXERCISE ON WINDOWS10. PL UPLOAD THE VIDEO AS I AM NOT ABLE TO UNDERSTAND

    • @pramodkumart.k.8953
      @pramodkumart.k.8953 7 ปีที่แล้ว

      Hope the presenters or the mentors look into it .

  • @komalchavan1236
    @komalchavan1236 7 ปีที่แล้ว

    not understanding how to download http server

  • @rvlabaji
    @rvlabaji 8 ปีที่แล้ว +1

    Try to Explain with Linux OS insted of Mac Os.

  • @akhome3553
    @akhome3553 8 ปีที่แล้ว

    i want to know briefly how to instal HTTP-SERVER in windows7 ultimate

    • @ankgupta3154
      @ankgupta3154 8 ปีที่แล้ว

      npm install http-server -g
      use this command on terminal
      and after that type http-server

  • @siddharthbiju7354
    @siddharthbiju7354 7 ปีที่แล้ว

    hmmm, i have windows 10. it's not working on cmd.

    • @adithkvn3774
      @adithkvn3774 7 ปีที่แล้ว

      same here

    • @rajeshramadoss4928
      @rajeshramadoss4928 7 ปีที่แล้ว

      Hi, after u install node js. close the previous window u had opened for command prompt. Go to node js that u installed from deskptop/start -> programs list and open node js command prompt. then try the npm command. It will work.

    • @adithkvn3774
      @adithkvn3774 7 ปีที่แล้ว

      ok thanks

  • @daisymanmohansingh1402
    @daisymanmohansingh1402 7 ปีที่แล้ว

    sir how to execute on Windows 10

  • @SAURABH4731
    @SAURABH4731 11 หลายเดือนก่อน

    Thank you😊

  • @rishitibrewal2345
    @rishitibrewal2345 7 ปีที่แล้ว

    this is really very confusing since I don't have vim

  • @glad_in_allvlogs9219
    @glad_in_allvlogs9219 7 ปีที่แล้ว

    I m not clear, please explain it little bit clearly sir...

  • @subbiahganesh7420
    @subbiahganesh7420 8 ปีที่แล้ว

    Good One.

  • @VaisakhBsonline
    @VaisakhBsonline 8 ปีที่แล้ว

    Thanks.

  • @brihansriram4199
    @brihansriram4199 7 ปีที่แล้ว

    please explain it little more clearly sir , im unable to catch up!!

  • @jeneyify
    @jeneyify 8 ปีที่แล้ว

    /cd desktop
    mkdir 'folder name'
    start 'folder name'

    • @jeneyify
      @jeneyify 8 ปีที่แล้ว

      want to delete something in that folder then use del 'the name '

  • @akhilsuresh9536
    @akhilsuresh9536 8 ปีที่แล้ว

    Awesome (y)

  • @rohan6900
    @rohan6900 8 ปีที่แล้ว

    First

  • @vinaykumarreddym6774
    @vinaykumarreddym6774 7 ปีที่แล้ว

    These commands are working in windows operating system please help me?

  • @gauravrahangdale1962
    @gauravrahangdale1962 8 ปีที่แล้ว

    Are commands in windows are same as Mac?