# Development environment After cloning this git repo, make sure to checkout the git submodules. ``` git submodule init git submodule update ``` ## 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). Install dependencies: ```sh sudo apt install -y python3 python3-pyqt5 python3-appdirs python3-click python3-xdg ``` Run from source tree: ```sh ./dev_script/dangerzone ``` Create a .deb: ```sh ./install/linux/build_deb.py ``` ## macOS ## macOS Install Xcode from the Mac App Store. Once it's installed, run it for the first time to set it up. Also, run this to make sure command line tools are installed: `xcode-select --install`. And finally, open Xcode, go to Preferences > Locations, and make sure under Command Line Tools you select an installed version from the dropdown. (This is required for installing Qt5.) Download and install Python 3.7.4 from https://www.python.org/downloads/release/python-374/. I downloaded `python-3.7.4-macosx10.9.pkg`. Install Qt 5.14.0 for macOS from https://www.qt.io/offline-installers. I downloaded `qt-opensource-mac-x64-5.14.0.dmg`. In the installer, you can skip making an account, and all you need is `Qt` > `Qt 5.14.0` > `macOS`. If you don't have it already, install pipenv (`pip3 install --user pipenv`). Then install dependencies: ```sh pipenv install --dev --pre ``` Run from source tree: ``` pipenv run ./dev_scripts/dangerzone ```