Python Forum
Thread Rating:
  • 2 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
data push from logger to server
#3
Quote:but for starters on the server end do I need to setup the server as an HTML server?
You can test all out locally Flask as posted over has a build in web-server.
Here a demo.
python app.py in browser http://127.0.0.1:5000/.
So getting a value from XML when push a button(call a Python function on the server side).

If you all new to this and web-development stuff with Python there is a learning process.
When it comes deploy,here some stuff that i like.
Gunicorn with Nginx(better than and easier than Apache) on host Digital Ocean.
There are host like PythonAnywhere and AWS Lambda Zappa,
they do all server side setup for you.
Reply


Messages In This Thread
data push from logger to server - by asdfasdf - May-01-2017, 09:00 PM
RE: data push from logger to server - by nilamo - May-01-2017, 09:16 PM
RE: data push from logger to server - by snippsat - May-02-2017, 11:32 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Push Button on website cg1980 1 482 Feb-07-2024, 01:25 AM
Last Post: snippsat
  Sending data from a websocket client to another server lemon 1 3,691 May-25-2020, 02:26 PM
Last Post: lemon
  Automated Git add/commit/push rxndy 0 2,098 May-13-2019, 11:51 AM
Last Post: rxndy
  logger saisankalpj 3 3,219 Jun-27-2018, 07:12 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020