Skip to content

Minimal example project for hosting p5 sketches locally with python (flask)

License

Notifications You must be signed in to change notification settings

aransena/flask_p5_minimal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask_p5_minimal

Minimal example project for hosting p5 sketches locally with python (flask)

https://p5js.org/

https://flask.palletsprojects.com/en/2.0.x/

running

If just running to test on local machine, simply run the python file and go to http://127.0.0.1:5000

If testing on local network, set app host to 0.0.0.0, e.g. app.run(host='0.0.0.0'), then navigate to the IP address of the host machine, e.g. if your PC's IP is 192.168.1.1, you could access the hosted page by navigating to http://192.168.1.1:5000 on your phone.

About

Minimal example project for hosting p5 sketches locally with python (flask)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published