Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 1.43 KB

CreateServer.md

File metadata and controls

27 lines (23 loc) · 1.43 KB

Create a web server

  1. Create a Node.JS server
  2. Create a Python server
  3. Create a XAMPP server
  4. Create an IIS server

Instructions

  1. Create a Node.JS server
  • Download and Install Node.JS
  • Install http-server as global node module (write in the console: npm install -g http-server)
  • Open a console in the directory of the app and write: http-server
  • Open a browser and type http://localhost:8080
  1. Create a Python server
  • Download and Install Python
  • Make sure that Python folder is added to the Path variables (e.g. open console and write: set PATH=%PATH%;C:\Python27
  • Open a console in the directory of the app and write: python -m SimpleHTTPServer 8080
  • Open a browser and type: http://localhost:8080
  1. Create a XAMPP server
  • Download and install XAMPP
  • Go to C:\xampp\htdocs and paste your project
  • Open XAMPP control Panel and click on Start button next to Apache. This will run a server.
  • Open a browser and type: http://localhost
  1. Create an IIS server