Skip to main content

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

Project description

PhotoDB

PhotoDB is an 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.

Installing PhotoDB

From pip

pip install PhotoDB

From source

To install PhotoDB from source, clone this repo and run:

pip install .

This method of installation is required if you want to work on the source code.

With Docker

To create a named container running PhotoDB, use the following command. You can change the -p settings if you wish to serve PhotoDB on a different port.

docker create --name photodb -p 8000:8000 djjudas21/photodb-django

Configuring PhotoDB

PhotoDB will run out of the box with no additional configuration, by creating an SQLite database in its own directory.

If you wish to use an external database then copy photodb/local_settings.py.template to photodb/local_settings.py and customise the database settings for your environment.

After the database is configured, apply the migrations and create your user account:

python manage.py migrate
python manage.py createsuperuser

Running PhotoDB

From pip or source

python manage.py runserver

and navigate to http://localhost:8000

From Docker

docker start photodb

See also

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PhotoDB-0.0.11.tar.gz (135.2 kB view hashes)

Uploaded Source

Built Distribution

PhotoDB-0.0.11-py3-none-any.whl (165.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page