You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
5 years ago | |
|---|---|---|
| gallery | 5 years ago | |
| .gitignore | 5 years ago | |
| LICENSE | 5 years ago | |
| MANIFEST.in | 5 years ago | |
| README | 5 years ago | |
| requirements.txt | 5 years ago | |
| setup.py | 5 years ago | |
| wsgi.py | 5 years ago | |
README
the dumbest image gallery possible
see https://gitlab.com/cinnaboot/ansible_roles/-/blob/master/roles/gallery/tasks/main.yml for an ansible role
or create a python virtual environment:
$ virtualenv venv
$ source venv/bin/activate
(venv) $ pip install -r requirements.txt
then start a local flask development server:
(venv) $ export FLASK_APP=gallery
(venv) $ export FLASK_ENV=development
(venv) $ flask run
Make album folders under 'instance/images', and copy some images.