You are not logged in.
I have a Flask-based web application (http://github.com/alandmoore/omega-hymnal) that I'd like to package for the AUR; I have a few questions about the best way to do this:
- Flask has its own built-in http server for testing, but it should really be run behind something else, like Apache mod_wsgi, Nginx, etc. What's the accepted way to handle this? Should I require a server of some kind, or leave it out and let the user decide how to configure the service?
- The application uses a sqlite database on the backend. Where's the accepted place to put this in the filesystem? /var/lib/<program-name>/? (Reading the FHS, I always thought /srv/ was the right place, but I never see services using this directory).
Thanks for any advice.
Offline
What about: https://wiki.archlinux.org/index.php/We … guidelines
is this what you are looking for?
Offline
Thanks. That answers the filesystem question, but I'm not sure if I should include an http server as a dependency.
Offline
I'm going to guess that you shouldn't. If a choice can be made by a user, then the choice should be left to the user. Maybe you can add the recommended server as an optional dependency? I believe if you do that you'll have the option to add in parentheses that it is the recommended http server, and so on.
"We may say most aptly, that the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves." - Ada Lovelace
Offline