Linux server
philandy opened this issue · comments
Just wanted to provide a quick Linux server option to go with the section on XAMPP.
- Open a command line, such as
terminal
. - Install
nodejs
with your package manager. nodejs
comes with thenpm
market, so usenpm
to installhttp-server
with the-g
flag (likelynpm install http-server -g
).-g
is to installhttp-server
with the globalnpm
install instead of just in the current directory.- Run
http-server --cors
(cors is for the whole cross origin thing) in the directory with your working files.