Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mgedmin/shoppinglist
A mobile web app for my own use
https://github.com/mgedmin/shoppinglist
Last synced: 4 days ago
JSON representation
A mobile web app for my own use
- Host: GitHub
- URL: https://github.com/mgedmin/shoppinglist
- Owner: mgedmin
- Created: 2012-03-21T00:30:20.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2024-11-06T11:16:34.000Z (about 2 months ago)
- Last Synced: 2024-11-06T12:26:33.375Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 520 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
Awesome Lists containing this project
README
ShoppingList README
===================.. image:: https://github.com/mgedmin/ShoppingList/workflows/build/badge.svg?branch=master
:target: https://github.com/mgedmin/ShoppingList/actionsSmall web-based shopping list application for me:
* There is one and only one shopping list per deployment
* It can be accessed (and edited) from multiple browsers, desktop and mobile
* There are no user accounts and no access control (but you can use Apache's)
* There are no update notifications yet: you have to manually reload the
page to see the changes if anyone else edited itRunning a development version
-----------------------------After cloning this repository do ::
make run
Make should take care of everything. You need make (obviously), python,
virtualenv, and an Internet connection (to download Pyramid etc. from PyPI).Deployment
----------Here's a sample Apache config for mod_wsgi deployment::
WSGIScriptAlias /list "/opt/ShoppingList/pyramid.wsgi"
WSGIDaemonProcess shoppinglist user=www-data group=www-data processes=2 threads=5 \
maximum-requests=1000 umask=0007 display-name=wsgi-shoppinglist \
python-path=/opt/ShoppingList/lib/python3.7/site-packages
WSGIProcessGroup shoppinglist
WSGIPassAuthorization onIf you also want password-protection, add ::
AuthType Basic
AuthName "example.com"
AuthUserFile /etc/apache2/shoppinglist.passwd
Require valid-user
and be sure to use HTTPS.
You'll want to create a database writable to the 'www-data' user in the ``var``
subdirectory (``production.ini`` looks for it there)::sudo make prod-db