Skip to main content

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:

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:

CAMERAHUB_ADMIN_EMAIL

Email address for the admin account Default: admin@example.com

CAMERAHUB_ADMIN_PASSWORD

Password for the admin account Default: admin

CAMERAHUB_DB_ENGINE

Database engine Default: django.db.backends.sqlite3

CAMERAHUB_DB_HOST

Database hostname or IP address if an engine other than SQLite is configured

CAMERAHUB_DB_NAME

Database schema or path to SQLite db db/db.sqlite3

CAMERAHUB_DB_PASS

Database password if an engine other than SQLite is configured

CAMERAHUB_DB_PORT

Database port if an engine other than SQLite is configured

CAMERAHUB_DB_USER

Database username if an engine other than SQLite is configured

CAMERAHUB_PROD

Enable Django production mode Default: false

CAMERAHUB_SECRET_KEY

Random secret value. The default string is for testing only and is insecure in production. Generate a new one here Default: OverrideMe!

CAMERAHUB_EMAIL_BACKEND

Email backend Default: django.core.mail.backends.filebased.EmailBackend

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 Default: noreply@camerahub.info

CAMERAHUB_DOMAIN

Site domain Default: camerahub.info

CAMERAHUB_MEMCACHED

Enable Memcached caching Default: false

CAMERAHUB_MEMCACHED_HOST

Memcached hostname or IP address Default: 127.0.0.1

CAMERAHUB_MEMCACHED_PORT

Memcached port Default: 11211

CAMERAHUB_STATUS_URL

URL for a status page

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.

Files for camerahub, version 0.34.2
Filename, size File type Python version Upload date Hashes
Filename, size camerahub-0.34.2-py3-none-any.whl (350.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size camerahub-0.34.2.tar.gz (235.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page