https://github.com/computate-org/computate_shotwell
https://github.com/computate-org/computate_shotwell
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/computate-org/computate_shotwell
- Owner: computate-org
- Created: 2021-12-29T15:34:50.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-11T03:54:37.000Z (almost 4 years ago)
- Last Synced: 2025-02-15T04:32:50.679Z (over 1 year ago)
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Install shotwell
## Install the latest Python and setup a new Python virtualenv
```bash
pkcon install -y git
pkcon install -y python3
pkcon install -y python3-pip
pkcon install -y python3-virtualenv
virtualenv-3 ~/python
```
### Load the python virtual environment and activate it for new terminals
```bash
source ~/python/bin/activate
echo "source ~/python/bin/activate" | tee -a ~/.bashrc
```
### Configure the terminal to load the ~/.local libraries
```bash
echo "export LD_LIBRARY_PATH=${HOME}/.local/lib64:${HOME}/.local/lib" | tee -a ~/.bashrc
```
## Install the latest Ansible
```bash
pip install setuptools_rust wheel
pip install --upgrade pip
pip install ansible
```
## Install sqlite as a prerequisite
Follow these instructions to install a recent version of sqlite using Ansible automation:
https://github.com/computate-org/computate_sqlite
## Install the shotwell ansible role
### Create a directory for the ansible role.
```bash
install -d ~/.ansible/roles/computate.computate_shotwell
```
### Clone the shotwell ansible role.
```bash
git clone git@github.com:computate-org/computate_shotwell.git ~/.ansible/roles/computate.computate_shotwell
```
## Run the shotwell ansible playbook to install the application locally.
```bash
cd ~/.ansible/roles/computate.computate_shotwell
ansible-playbook install.yml
```