Comments (7)
A much better way: use a "real" WSGI server that supports the things you mentioned out-of-the-box such as gunicorn or uWSGI (well, I know the latter is fairly old in Wheezy and does not work with Isso as I use a different caching API).
I am afraid of implementing chmod and privilege drop in Isso which is something I never did before (and thus unlikely to implement it right on first try) and other WSGI servers have already implemented. The initial socket support for unix domain sockets for the development server shipped with Python/${webframework i use} is, after all, maybe a bad choice as it encourages to use the internal development server instead of a real, fast, secure and lightweight WSGI server.
If you still want to use the internal server, you can use sockets in the /tmp directory (which I do with uWSGI (although it supports chmod etc.)) or bind on localhost:1234.
from isso.
An example call for Gunicorn:
$ export ISSO_SETTINGS="/path/to/isso.cfg"
$ gunicorn -b unix:foo.sock -m 0666 -u user -g group --preload isso.run
from isso.
Ok, thanks. I'll try to update my debian package to depend on gunicorn and update the init scripts to use gunicorn.
Are there any version constraints for gunicorn you are aware of?
from isso.
Are there any version constraints for gunicorn you are aware of?
I tested with the version available in Wheezy (0.14.5).
from isso.
Ok, thanks.
from isso.
Just out of curiosity: Why not using gunicorn as an optional dependency for the "internal" server?
from isso.
In case of debian packaging, I wouldn't mind if it is a required dependency because of a more flexible setup.
from isso.
Related Issues (20)
- Feature request: Allow adding CSS classes to generated HTML elements
- Responsive Layout (too much width on mobile devices) HOT 4
- Docker: isso:latest still points to 0.12.6 HOT 1
- Markdown extensions to support Math, Tables, etc. not working HOT 23
- Missing comments (but count is correct!) HOT 2
- Ability to block specific commenters HOT 4
- Please add Multi-CPU architecture for Docker image HOT 7
- Feature request: Generic Attributes Extension for advanced markdown syntax support HOT 2
- docker isn't creating database HOT 2
- Unable to post comments with umlaut domains in the website field HOT 1
- config from environment variables HOT 1
- IP address ending with "zero" in emails from comments HOT 4
- Gunicorn 400 Missing URI Query in Docker
- [Feature Request] Reply via email HOT 1
- Links in emails missing slash separator [was: "shaarli links to comments are broken"] HOT 11
- Search box on isso-comments.de does not work
- NULL text from deleted comment results in error 500
- pt_BR override translation not working HOT 4
- no debian release available since oldoldstable HOT 1
- matrix bridge is gone
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from isso.