-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrunning.txt
56 lines (36 loc) · 1.29 KB
/
running.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
install python
install git
Requires Python 3.4 or greater for virtual environment.
Go to directory where you want to install the program.
Create a virtual environment per https://python.land/virtual-environments/virtualenv
> python -m venv venv
CD into venv directory
> cd venv
Activate virtual environment (see article for Linux and MaxOS)
Either option 1 or option 2 below, depending on your command line terminal
# Option 1 - In cmd.exe
> Scripts\activate.bat
# Option 2 - In PowerShell
> Scripts\Activate.ps1
Download Process Images source
> git clone https://github.com/ddgarrett/process_images.git
Make sure pip is up to date
> pip install --upgrade pip
Install packages required by Process Images
> pip install -r process_images/requirements.txt
CD into project directory
> cd process_images
Copy template my_secrets.py to my_secrets.py
> copy "my_secrets template.py" my_secrets.py
Run main program - Organize Images:
> python main_oi.py
OR - Process Images:
> python main.py
When done, be sure to deactivate virtual environment
> deactivate
--------------------------------------------------------------------
To run app again, open terminal window in venv directory
> process_images\vrun
OR...
Open ...\venv\process_images in file manager
Double click either _vrun_org.bat or _vrun_rvw.bat