Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux server #12

Open
philandy opened this issue Oct 9, 2018 · 0 comments
Open

Linux server #12

philandy opened this issue Oct 9, 2018 · 0 comments

Comments

@philandy
Copy link

philandy commented Oct 9, 2018

Just wanted to provide a quick Linux server option to go with the section on XAMPP.

  1. Open a command line, such as terminal.
  2. Install nodejs with your package manager.
  3. 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.
  4. Run http-server --cors (cors is for the whole cross origin thing) in the directory with your working files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant