Sign inSign up

djjudas21/photodb

By djjudas21

•Updated almost 7 years ago

App for cataloguing vintage cameras, lenses, films, negatives & prints

Image
0

1.4K

djjudas21/photodb repository overview

⁠PhotoDB

PhotoDB 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. Read the Concepts⁠ section for full details on the capabilities of PhotoDB.

It replaces an earlier command-line project, also called PhotoDB⁠, which has now been deprecated.

⁠Installing PhotoDB

There are several ways of installing PhotoDB, depending on your needs:

⁠Configuring PhotoDB

PhotoDB requires no additional config to run with default settings. However it is insecure in this configuration so at least SECRET_KEY and DJANGO_PROD must be set if you are running in production.

The following environment variables are supported:

  • SECRET_KEY - a large random value to be kept secret. Generate here⁠
  • DJANGO_PROD - set to true to enable production mode. Defaults to false when running from source and true when running in Docker
  • DB_ENGINE - the database engine (default django.db.backends.sqlite3)
  • DB_NAME - the name of the database schema, or path to the SQLite db file (default db/db.sqlite3)
  • DB_USER - database username
  • DB_PASS - database password
  • DB_HOST - database hostname or IP address
  • DB_PORT - database port

⁠See also

Tag summary

Content type

Image

Digest

Size

51.3 MB

Last updated

almost 7 years ago

docker pull djjudas21/photodb