Ctrl + Alt + T
or by clicking on the Terminal
app in the app launcher.sudo apt-get install -y \
git \
python3-dev \
python3-pip \
python3-setuptools \
libffi-dev \
libssl-dev \
libjpeg-dev \
libxml2-dev \
libxslt1-dev \
zlib1g-dev \
libpq-dev \
redis-server \
imagemagick \
ffmpeg \
libimage-exiftool-perl
git clone https://github.com/LibrePhotos/librephotos.git
cd librephotos
pip3 install -r requirements.txt
cp config.example.py config.py
python3 -c "import os; print(os.urandom(24).hex())"
Take note of the secret key as you will need it later.config.py
file in a text editor and modify the following lines:SECRET_KEY = ''
to SECRET_KEY = 'your secret key'
(replace 'your secret key'
with the secret key generated in step 7)PHOTOS_ROOT = ''
to PHOTOS_ROOT = '/path/to/photos/directory'
(replace '/path/to/photos/directory'
with the path to your photos directory)python3 manage.py migrate
python3 manage.py createsuperuser
python3 manage.py collectstatic --no-input
python3 manage.py runserver
http://localhost:8000
to access LibrePhotos.Congratulations! You have successfully installed LibrePhotos on POP! OS Latest.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!