-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ed6c8f4
commit e92fa62
Showing
6 changed files
with
119 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,77 @@ | ||
Installation | ||
============ | ||
|
||
TODO | ||
First you'll have to install the ``git`` package in order to access the code on github. | ||
Follow the | ||
`git installion instructions <https://git-scm.com/book/en/v2/Getting-Started-Installing-Git>`_ | ||
for your specific OS. | ||
|
||
**Install ffmpeg** | ||
|
||
First, check to see you have ``ffmpeg`` installed by typing the following into the terminal: | ||
|
||
.. code-block:: console | ||
ffmpeg -version | ||
If not, install: | ||
|
||
.. code-block:: console | ||
sudo apt install ffmpeg | ||
**Set up a conda environment** | ||
|
||
Next, follow the | ||
`conda installation instructions <https://docs.conda.io/projects/conda/en/latest/user-guide/install/>`_ | ||
to install the ``conda`` package for managing development environments. | ||
Then, create a conda environment: | ||
|
||
.. code-block:: console | ||
conda create --name daart python=3.6 | ||
Active the new environment: | ||
|
||
.. code-block:: console | ||
conda activate daart | ||
**Install daart** | ||
|
||
.. note:: | ||
|
||
Make sure your conda environment is activated during the following steps. | ||
|
||
1. Move into the directory where you want to place the repository folder, and download it from | ||
github. | ||
|
||
.. code-block:: console | ||
git clone https://github.com/themattinthehatt/daart | ||
2. Move into the newly created folder: | ||
|
||
.. code-block:: console | ||
cd daart | ||
and install the package and all dependencies: | ||
|
||
.. code-block:: | ||
pip install -e . | ||
3. Verify that all the unit tests are passing on your machine by running | ||
|
||
.. code-block:: console | ||
pytest | ||
The tests will take a minute or two to run. | ||
|
||
4. To be able to use this environment for jupyter notebooks: | ||
|
||
.. code-block:: console | ||
python -m ipykernel install --user --name daart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters