A simple backend for Photon, built with Django. Images are stored as plain files and metadata is stored in a bundled SQLite database.
PyPhoton comes with everything that is needed to run it. If you wish to run PyPhoton in a more stable environment, checkout the installation instructions.
- Make sure that Python 3 and pip is installed.
git clone https://github.com/simon1573/PyPhoton.git && cd PyPhoton
- In
PyPhoton/photon/views.py
, editMEDIA_DIR
to your prefrerred directory. (TODO: Move this setting tomysite/settings.py
) sudo pip install -r requirements.txt
python manage.py makemigrations photon
python manage.py migrate photon
- Finally, to start the server and make it listen to all interfaces at port 4123:
python manage.py runserver 0.0.0.0:4123
Download the Android application and follow the setup instructions.
todo