You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 the npm market, so use npm to install http-server with the -g flag (likely npm install http-server -g). -g is to install http-server with the global npm 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.
The text was updated successfully, but these errors were encountered:
Just wanted to provide a quick Linux server option to go with the section on XAMPP.
terminal
.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.http-server --cors
(cors is for the whole cross origin thing) in the directory with your working files.The text was updated successfully, but these errors were encountered: