This is an old revision of the document!


hosting your sketches on a local server

The steps are as follows:

  1. install nodejs and npm
  2. using npm, install http-server
  3. make a directory for your project
  4. put the necessary files in the directory
  5. run http-server from the command line in that directory
  6. use your browser to access the IP address indicated by http-server

Let's look at each step in detail.

  • p5js-local-server.1708489124.txt.gz
  • Last modified: 16 months ago
  • by renick