App for cataloguing vintage cameras, lenses, films, negatives & prints
Project description
CameraHub
CameraHub is a web app for film photography that can be used to track cameras, lenses, accessories, films, negatives and prints, to fully catalogue a collection of photographic equipment as well as the pictures that are made with them.
It replaces an earlier command-line project, called PhotoDB, which has now been deprecated.
Installing CameraHub
There are several ways of installing CameraHub, depending on your needs:
- With Pip
- From source
- With Docker
- With Kubernetes
Configuring CameraHub
CameraHub requires almost no additional config to run with default settings. However it is insecure in this configuration so at least CAMERAHUB_SECRET_KEY
and
CAMERAHUB_PROD
must be set if you are running in production.
The following environment variables are supported:
Variable | Use | Default |
---|---|---|
CAMERAHUB_ADMIN_EMAIL |
email address for the admin account |
admin@example.com |
CAMERAHUB_ADMIN_PASSWORD |
password for the admin account |
admin |
CAMERAHUB_DB_ENGINE |
database engine | django.db.backends.sqlite3 |
CAMERAHUB_DB_HOST |
database hostname or IP address | |
CAMERAHUB_DB_NAME |
database schema or path to SQLite db | db/db.sqlite3 |
CAMERAHUB_DB_PASS |
database password | |
CAMERAHUB_DB_PORT |
database port | |
CAMERAHUB_DB_USER |
database username | |
CAMERAHUB_PROD |
enable Django production mode | false |
CAMERAHUB_SECRET_KEY |
random secret value. Generate here | OverrideMe! |
CAMERAHUB_SENDGRID_KEY |
API key for Sendgrid email backend | |
CAMERAHUB_EMAIL_USE_TLS ' |
enable TLS for SMTP | |
CAMERAHUB_EMAIL_USE_SSL ' |
enable TLS for SMTP | |
CAMERAHUB_EMAIL_HOST |
SMTP server hostname | |
CAMERAHUB_EMAIL_HOST_USER |
SMTP server username | |
CAMERAHUB_EMAIL_HOST_PASSWORD |
SMTP server password | |
CAMERAHUB_EMAIL_PORT |
SMTP server port number | |
CAMERAHUB_FROM_EMAIL |
from email address | noreply@camerahub.info |
CAMERAHUB_DOMAIN |
site domain | camerahub.info |
CAMERAHUB_REDIS |
enable Redis caching | false |
CAMERAHUB_REDIS_HOST |
Redis hostname or IP address | 127.0.0.1 |
CAMERAHUB_REDIS_PORT |
Redis port | 6379 |
See also
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for camerahub-0.14.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 632f690b7e8f55ceae239a274c6bdca3060806131c39c873e464da947c682309 |
|
MD5 | facb85265198769b01ad9f736cb2281d |
|
BLAKE2b-256 | 200adc937438975abab01a6750e3de84288105035b6334fef02469aec2c2156f |