Websoft9 / docker-library

Docker Compose examples of selfhosted FOSS based on official image, just run it.
https://www.websoft9.com
Other
36 stars 25 forks source link

Web framework for Python runtime[runtime] #159

Open chendelin1982 opened 2 years ago

chendelin1982 commented 2 years ago

What type of your feature request?

How to run app at backend?

chendelin1982 commented 2 years ago

Install Django

at service.sh

Install Flask(include demo)

pip install flask
git clone --depth=1 https://github.com/pallets/flask  temp
cp -r temp/examples/javascript flask
rm -rf temp
cd flask
pip install -e .
export FLASK_APP=js_example
flask run -h 0.0.0.0 -p 3000

Install Tornado but don't know how to running

pip install tornado
git clone --depth=1 https://github.com/tornadoweb/tornado  temp
cp -r temp/demos/chat tornado
rm -rf temp
cd tornado