Skip to content

gh4ag/web_app_bokeh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web_app_bokeh

Web app with HTML/JS frontend and python as backend

Execute code

Modules required

  • pip
  • fastapi
  • unicorv
  • bokeh
  • numpy
  • aiofiles
pip install fastapi uvicorn[standard] aiofiles bokeh numpy

Run server

uvicorn main:app --reload

This code is written in run_server.sh.

Read the output message and copy paste the url into your server (e.g. http://127.0.0.1:8000)

Remark

No need to stop the server when using unicorv with the --reload option.

Updating output

After modifying js/html/css

  • refresh the browser

After modifyin python

  • nothing

(unless code is executed when page is just open => then reload the page)

About

Web app with HTML/JS frontend and python as backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published