6

I'm attempting to put up an instance using the source. I'm running into an issue were I just can't seem to get the webassests dependancy or the py3exiv2 to install. the error at least on webassests is

Could not find a version that satisfies the requirement webassests (from versions: ) No matching distribution found for webassests

Anyone have any ideas?

I'm attempting to put up an instance using the source. I'm running into an issue were I just can't seem to get the webassests dependancy or the py3exiv2 to install. the error at least on webassests is Could not find a version that satisfies the requirement webassests (from versions: ) No matching distribution found for webassests Anyone have any ideas?

12 comments

[–] pmyb2 [OP] 0 points (+0|-0)

well I managed to get it up and running using wsgi.py. Now on to figuring out gunicorn I've got nginx running already and have some limited experience with using it as a reverse proxy. Any tips? You guys have been really helpful I appreciate it.

[–] Polsaker 1 points (+1|-0)

For gunicorn? Use the eventlet worker.

Don't use more than one worker. If you need to, you'll need to launch a separate instance of gunicorn with only one worker that will serve al socket.io traffic.

[–] pmyb2 [OP] 0 points (+0|-0)

out of curiousity why only 1 worker?

[–] Polsaker 0 points (+0|-0)

Because the underlying socket.io library does not support clients switching between workers, so if you need more than one socket.io worker you'll have to use something like nginx's ip_hash to distribute clients across gunicorn instances with a single worker each (this does not apply to regular http requests).

We just run a gunicorn instance with 3 workers serving all of the site's content and another instance with a single worker serving only socket.io traffic.