Ownphotos development has moved to LibrePhotosUse it here: https://github.com/LibrePhotos/librephotos
Live demo avilable here.User is demo, password is demo1234.
Currently the project is in very early stages, so run it only for the sake of checking it out.
Short term:
Longer term, i.e. haven't thought much about them
Ownphotos comes with separate backend and frontendservers. The backend serves the restful API, and the frontend serves, well,the frontend. They are connected via a proxy.The easiest way to do it is using Docker.
If you want the backend server to be reachable byownphotos-api.example.com
and the frontend by ownphotos.example.com
fromoutside. You must account for the corsaCross-Origin Resource Sharing (CORS) in your proxy.
wget https://raw.githubusercontent.com/hooram/ownphotos/dev/docker-compose.yml.template
cp docker-compose.yml.template docker-compose.yml
Open docker-compose.yml
in your favorite text editor and make changes in the lines with # CHANGE ME
docker-compose up -d
You should have ownphotos accessible after a few seconds of bootup on: localhost:3000User is admin, password is admin and its important you change it on a public server via the docker-compose.yml
file.
You need to log in as the admin user, and set up the directory for the users. To do this, click the top right button, and go to "Admin Area". On this page, it will show a list of users, and manually set the "Scan Directory" for the desired user. Only an admin can do this. And then you can go to Dashboard - Library and click the Green "Scan photos (file system)" button. If you have a Nextcloud instance, you can also input this in the Dashboard-Library page. Once logged in (the little circle next to "Nextcloud Scan Directory will be green), you can choose a top level directory in your logged in Nextcloud account. Once this works, you can click the blue "Scan photos (Nextcloud)". The backend system will essentially copy the contents of the Nextcloud directory you specified.
The basic idea is this: