Skip to content

Refining a boilerplate to get Flask, flask-restx, flask-sockio and celery working together.

Notifications You must be signed in to change notification settings

webbpinner/flask-socketio-test-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask-socketio-test-server

To install server:

pip install -r ./requirements.txt

Also requires installing rabbitmq, sqlite3

To install client:

cd ./client
npm install

Starting server/client:

  • Start server via: python app.py. Server runs on port 5000
  • Start client via: npm start. Client runs on port 3000

Where I'm having an issue using rabbitmq as the flask-socketio message queue:

To change flask-socketio to use rabbitmq:

  • uncomment line 13 AND comment out line 14 on ./server/init.py
  • restart server

About

Refining a boilerplate to get Flask, flask-restx, flask-sockio and celery working together.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published