Make the container a git submodule

This commit is contained in:
Micah Lee 2020-01-09 11:35:47 -08:00
parent 911a511e11
commit 8a84c115a1
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
3 changed files with 20 additions and 4 deletions

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "share/container"]
path = share/container
url = git@github.com:firstlookmedia/dangerzone-converter.git

View file

@ -21,18 +21,30 @@ Right now, dangerzone only works in Linux, but the goal is to [get it working in
## Development environment
After cloning this git repo, make sure to checkout the git submodules.
```
git submodule init
```
### Debian/Ubuntu
You need [podman](https://podman.io/getting-started/installation) ([these instructions](https://kushaldas.in/posts/podman-on-debian-buster.html) are useful for installing in Debian or Ubuntu).
You also need python3, pipenv, and Qt5.
Install dependencies:
```
sudo apt install -y python3 python3-pyqt5 python3-appdirs python3-click python3-xdg
```
Run locally:
```
pipenv run ./dev_script/dangerzone
./dev_script/dangerzone
```
Create a .deb:
```
pipenv run ./install/linux/build_deb.py
```
./install/linux/build_deb.py
```

1
share/container Submodule

@ -0,0 +1 @@
Subproject commit 6edf71901200da659e8a8350a3c1cbc9b92f9082