Set up the Atom code editor to run a simple http web server by installing the Atom package "atom-live-server".
- Install the "atom-live-server" package at https://atom.io/packages/atom-live-server.
- In the Atom code editor go to "preferences" under "Atom" in the top menu bar.
- In "preferences" go to "Packages" and find the "atom-live-server" package.
- Click the "Install" button.
Start a simple http web server using "atom-live-server" by selecting directory or html file in Atom code editor and execute one of the following keystrokes to start server (from "atom-live-server" documentation):
ctrl-alt-llaunch live server on port 3000.ctrl-alt-3launch live server on port 3000.ctrl-alt-4launch live server on port 4000.ctrl-alt-5launch live server on port 5000.ctrl-alt-8launch live server on port 8000.ctrl-alt-9launch live server on port 9000.
Stop "atom-live-server" by executing following keystrokes:
ctrl-alt-qstop live server.
Note: This server will not recognize files ending in .php, change the file to .html instead.