Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
179 commits
Select commit Hold shift + click to select a range
87d76a8
Flask web interface added.
yusufesatt May 3, 2024
c628305
flask and flaskwebui libraries added.
yusufesatt May 3, 2024
75acd81
FlaskWeb GUI was configured.
yusufesatt May 3, 2024
3a81f90
Add requirements.txt
yusufesatt May 8, 2024
b10d96a
Added missing return statement.
yusufesatt May 9, 2024
b867724
About and support pages have been deprecated and replaced with Video …
yusufesatt May 10, 2024
e1f7949
If there is more than one mapilo account, active accounts will be rem…
yusufesatt May 10, 2024
ad14712
Added error to return to provide information to the user in case of e…
yusufesatt May 15, 2024
584e7af
spec file added
yusufesatt May 15, 2024
21909b9
pytest library added to requirements file.
yusufesatt May 15, 2024
610d49f
Added python-package.yml workflow.
yusufesatt May 15, 2024
29921b8
working-directory changed to main
yusufesatt May 16, 2024
caafc7b
python3.12 support removed from the workflow.
yusufesatt May 16, 2024
4dfec69
Refactor python-package.yml
yusufesatt May 16, 2024
ace64f9
Refactor python-package.yml
yusufesatt May 16, 2024
e573b29
Refactor python-package.yml
yusufesatt May 16, 2024
8574d4b
Refactor python-package.yml
yusufesatt May 16, 2024
da5d64d
Fixed an error due to multiple setup.
yusufesatt May 16, 2024
70ce744
Merge remote-tracking branch 'origin/main'
yusufesatt May 16, 2024
f7df6b0
Fixed an error due to multiple setup.
yusufesatt May 16, 2024
7bb849f
Flask web interface added.
yusufesatt May 3, 2024
ad70d08
flask and flaskwebui libraries added.
yusufesatt May 3, 2024
9836087
FlaskWeb GUI was configured.
yusufesatt May 3, 2024
1e7190e
Add requirements.txt
yusufesatt May 8, 2024
c6858b0
Added missing return statement.
yusufesatt May 9, 2024
3554c5b
About and support pages have been deprecated and replaced with Video …
yusufesatt May 10, 2024
12d3be9
If there is more than one mapilo account, active accounts will be rem…
yusufesatt May 10, 2024
53d4c72
Added error to return to provide information to the user in case of e…
yusufesatt May 15, 2024
e94261e
spec file added
yusufesatt May 15, 2024
cee4181
pytest library added to requirements file.
yusufesatt May 15, 2024
529f079
Added python-package.yml workflow.
yusufesatt May 15, 2024
93f745b
working-directory changed to main
yusufesatt May 16, 2024
0f3f86e
python3.12 support removed from the workflow.
yusufesatt May 16, 2024
f7a189a
Refactor python-package.yml
yusufesatt May 16, 2024
c512fba
Refactor python-package.yml
yusufesatt May 16, 2024
4e16ba5
Refactor python-package.yml
yusufesatt May 16, 2024
047daec
Refactor python-package.yml
yusufesatt May 16, 2024
e9b9045
Fixed an error due to multiple setup.
yusufesatt May 16, 2024
c11b758
Merge pull request #161 from mapilio/main
yusufesatt May 16, 2024
7e6db02
Merge remote-tracking branch 'origin/flask_app' into flask_app
yusufesatt May 16, 2024
45a881e
tests folder created
yusufesatt May 16, 2024
e74679d
add pytest configuration file
yusufesatt May 16, 2024
243194d
pytest deprecated
yusufesatt May 16, 2024
2fbfd5c
release workflow add
yusufesatt May 16, 2024
646e933
refactor release.yml
yusufesatt May 16, 2024
daa5815
version update
yusufesatt May 16, 2024
d7903c8
deprecate version control
yusufesatt May 16, 2024
a27659f
version check refactor
yusufesatt May 16, 2024
f7ecd0c
permisson denied error fixed
yusufesatt May 17, 2024
67585dd
pyinstaller installation command add
yusufesatt May 22, 2024
6ab44a5
Creating a dynamic spec file [TEST]
yusufesatt May 22, 2024
fc3738d
Creating a dynamic spec file [TEST]
yusufesatt May 22, 2024
7089e1f
Creating a dynamic spec file [TEST]
yusufesatt May 23, 2024
cc6867d
Only the ubuntu platform will be used for the test and the python ver…
yusufesatt May 23, 2024
907fa0f
configparser add requirements
yusufesatt May 23, 2024
7413b68
configparser add requirements
yusufesatt May 23, 2024
8fa16eb
version update
yusufesatt May 23, 2024
70a0dcd
build_linux file refactor
yusufesatt May 23, 2024
e683653
gh_token add
yusufesatt May 23, 2024
1f030da
gh_token refactor
yusufesatt May 23, 2024
3a3c338
release step refactor
yusufesatt May 23, 2024
c9079ee
release.yml refactor
yusufesatt May 24, 2024
eeb16fe
release.yml refactor
yusufesatt May 24, 2024
b93c4a9
release.yml refactor
yusufesatt May 24, 2024
94b9e21
release.yml refactor
yusufesatt May 24, 2024
c11fed6
release.yml refactor
yusufesatt May 24, 2024
e96fb00
release.yml refactor
yusufesatt May 24, 2024
cc53c58
release.yml refactor
yusufesatt May 24, 2024
82c0b0a
release.yml refactor
yusufesatt May 24, 2024
ab9a67c
build_linux refactor
yusufesatt May 24, 2024
6eec496
release.yml refactor
yusufesatt May 24, 2024
9728e97
release.yml refactor
yusufesatt May 24, 2024
b69bedd
release.yml refactor
yusufesatt May 24, 2024
d1e3e73
release.yml refactor
yusufesatt May 24, 2024
8078830
release.yml refactor
yusufesatt May 29, 2024
c55de0a
release.yml refactor
yusufesatt May 29, 2024
537a170
release.yml refactor
yusufesatt May 29, 2024
02c99b0
release.yml refactor
yusufesatt May 29, 2024
8ff63e5
create_spec.py refactor
yusufesatt May 29, 2024
9bf58b9
Merge remote-tracking branch 'origin/main'
yusufesatt May 30, 2024
0f924eb
release.yml refactor
yusufesatt May 31, 2024
00e2593
release.yml refactor
yusufesatt May 31, 2024
a96610d
build_linux file refactor
yusufesatt May 31, 2024
ca87674
release.yml refactor
yusufesatt May 31, 2024
8703915
release.yml refactor
yusufesatt May 31, 2024
a514756
build_linux refactor
yusufesatt May 31, 2024
c6080df
release.yml refactor
yusufesatt May 31, 2024
3d80268
create_spec.py file refactor
yusufesatt May 31, 2024
795ed48
flask_app.py FlaskUI integration
yusufesatt May 31, 2024
50e1968
auto: flask_app branch merge main
yusufesatt Jun 6, 2024
fbc9ee4
Merge flask_app to kit_bugs
yusufesatt Jun 6, 2024
2540a91
Merge remote-tracking branch 'origin/add-exiftool-path-arg' into add-…
yusufesatt Jun 7, 2024
e91c6ad
merge add-exiftool-path to flask_app
yusufesatt Jun 7, 2024
67e4eb2
exiftool path has been edited to be found dynamically.
yusufesatt Jun 7, 2024
afba136
pandas removed dependencies
yusufesatt Jun 7, 2024
48ef8cc
pandas removed export.py
yusufesatt Jun 7, 2024
f83ef2f
FlaskUI integration
yusufesatt Jun 7, 2024
c68bbe2
update version
yusufesatt Jun 7, 2024
9f4c46e
flaskui deprecated
yusufesatt Jun 7, 2024
89cab05
exiftool installation command added on windows and macos
yusufesatt Jun 7, 2024
cbce12a
release.yml refactor
yusufesatt Jun 7, 2024
29ceb50
build_win.ps1 refactor
yusufesatt Jun 7, 2024
5f40090
release.yml refactor
yusufesatt Jun 7, 2024
4127594
release.yml refactor
yusufesatt Jun 7, 2024
c9d7892
release.yml refactor
yusufesatt Jun 7, 2024
5582145
release.yml refactor
yusufesatt Jun 7, 2024
fbbd6c8
release.yml refactor
yusufesatt Jun 12, 2024
2eeadb8
create_spec.py refactor
yusufesatt Jun 12, 2024
b2065f7
hidden_imports deprecated
yusufesatt Jun 12, 2024
e3a89e3
hidden_imports refactor
yusufesatt Jun 12, 2024
28e9632
create_spec.py refactor
yusufesatt Jun 12, 2024
04a7778
create_spec.py refactor
yusufesatt Jun 12, 2024
beacf95
create_spec.py refactor
yusufesatt Jun 12, 2024
1f6323e
create_spec.py refactor
yusufesatt Jun 12, 2024
f3bd519
create_spec.py refactor
yusufesatt Jun 12, 2024
bde9a7a
create_spec.py refactor
yusufesatt Jun 12, 2024
348e830
mapilio-kit dynamic installation
yusufesatt Jun 12, 2024
32ed4ab
mapilio-kit dynamic installation
yusufesatt Jun 12, 2024
0f3187a
mapilio-kit dynamic installation
yusufesatt Jun 12, 2024
5ee3629
create_spec.py refactor
yusufesatt Jun 12, 2024
1776148
release.yml refactor
yusufesatt Jun 13, 2024
b1edfdd
mapilio-kit path changed to working directory
yusufesatt Jun 13, 2024
2435ffe
mapilio-kit path changed to working directory
yusufesatt Jun 13, 2024
04b1ffc
create_spec.py refactor
yusufesatt Jun 13, 2024
1b04a2d
subprocess deprecated for mapilio_kit upload command usage
yusufesatt Jun 13, 2024
4b2254a
subprocess deprecated for mapilio_kit upload command usage
yusufesatt Jun 13, 2024
bbeed7d
subprocess deprecated for mapilio_kit upload command usage
yusufesatt Jun 13, 2024
0e74d89
fix FakeUploadManager Class problem
gorkemgul Jun 25, 2024
41a6fa5
update: fix exiftool path problem
gorkemgul Jun 26, 2024
e38e90b
update: close dry run method
gorkemgul Jun 26, 2024
a6acf7e
update: fix typo
gorkemgul Jun 26, 2024
3e7a9cd
update: add app icon
gorkemgul Jun 26, 2024
32aac87
update: change icon dir, and test it
gorkemgul Jun 26, 2024
7086013
update: change icon dir, and test again
gorkemgul Jun 26, 2024
b4da092
Update create_spec.py
gorkemgul Jun 26, 2024
680c372
Update create_spec.py
gorkemgul Jun 26, 2024
41de0a8
- add mapper.py
bonj4 Jul 3, 2024
0cd4dcc
Update build_linux
gorkemgul Jul 5, 2024
ba952ee
Update build_linux
gorkemgul Jul 5, 2024
e999898
Update version.py
gorkemgul Jul 8, 2024
5c8f876
Update release.yml
gorkemgul Jul 8, 2024
3d8f129
Update release.yml
gorkemgul Jul 8, 2024
d931c66
update version, and make configurations for macOS release
gorkemgul Jul 8, 2024
b2bdc98
hotfix
gorkemgul Jul 8, 2024
26beee8
hotfix
gorkemgul Jul 8, 2024
7dc1114
hotfix
gorkemgul Jul 8, 2024
8e7347a
Merge remote-tracking branch 'origin/main' into flask_app
gorkemgul Oct 9, 2024
2abcae5
Merge remote-tracking branch 'origin/main' into flask_app
gorkemgul Oct 9, 2024
8da1287
update: modify decompose process, and modify the try except structure
gorkemgul Oct 9, 2024
a5531cd
update version.py
gorkemgul Oct 9, 2024
1be3512
Update version.py
gorkemgul Oct 9, 2024
8e4d5f1
Update version.py
gorkemgul Oct 9, 2024
07b64f3
update version.py
gorkemgul Oct 9, 2024
847385a
update release.yml
gorkemgul Oct 9, 2024
d529764
update release.yml
gorkemgul Oct 9, 2024
2962e3c
Update version.py
gorkemgul Oct 10, 2024
5aacacb
Update release.yml
gorkemgul Oct 10, 2024
531c2ac
add duplicated image parameter for users
gorkemgul Oct 10, 2024
e59542e
add duplicated parameter
gorkemgul Oct 10, 2024
ddfd2da
Merge pull request #191 from mapilio/add_duplicated_parameter
bonj4 Oct 10, 2024
dac64dd
update
gorkemgul Nov 25, 2024
ad39b64
Update version.py
gorkemgul Nov 25, 2024
589cab3
Update version.py
gorkemgul Nov 25, 2024
3aa8b16
update
gorkemgul Nov 25, 2024
2ba911f
Update release.yml
gorkemgul Nov 25, 2024
4db02a7
Update release.yml
gorkemgul Nov 28, 2024
be54235
Update version.py
gorkemgul Nov 28, 2024
58cad34
Update release.yml
gorkemgul Nov 28, 2024
da3491b
Update release.yml
gorkemgul Nov 29, 2024
ea3ccad
Update build_osx
gorkemgul Nov 29, 2024
0a3da21
Update flask_app.py
gorkemgul Nov 29, 2024
05c26a7
Update flask_app.py
gorkemgul Nov 29, 2024
e9521a8
Update release.yml
gorkemgul Nov 29, 2024
7cd74ff
Update release.yml
gorkemgul Nov 29, 2024
b65d481
Update release.yml
ozcan-durak Nov 29, 2024
d41a771
Update release.yml
mehmetalihn Apr 9, 2025
a922d76
Update release.yml
mehmetalihn Apr 9, 2025
050e431
Update release.yml
mehmetalihn Apr 9, 2025
a92b8e2
Merge pull request #204 from mehmetalihn/patch-2
ozcan-durak Oct 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Python package

on:
pull_request:
branches: [flask_app]
push:
branches: [flask_app]

jobs:
build:
strategy:
matrix:
python_version: ["3.8", "3.9", "3.10", "3.11"]
platform: ["ubuntu-latest", "macos-latest", "windows-latest"]

runs-on: ${{ matrix.platform }}

defaults:
run:
working-directory: ./main

steps:
- name: Checkout main repository
uses: actions/checkout@v4
with:
path: main

- name: Setup ExifTool
uses: actions/checkout@v4
with:
repository: "exiftool/exiftool"
path: exiftool

- name: Check ExifTool version
run: |
mv ${{ github.workspace }}/exiftool/exiftool ${{ github.workspace }}/exiftool/exiftool.pl
perl ${{ github.workspace }}/exiftool/exiftool.pl -ver

- name: Setup FFmpeg
uses: FedericoCarboni/setup-ffmpeg@v2
if: matrix.platform != 'macos-latest'

- name: Set up Python ${{ matrix.python_version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python_version }}

- name: Upgrade pip
run: python -m pip install --upgrade pip

- name: Install dependencies
run: python -m pip install -e .


# - name: Test with pytest
# run: |
# mapilio_kit --version
# pytest -s -vv tests
# env:
# MAPILIO_KIT__TESTS_EXECUTABLE: mapilio-kit
# MAPILIO_KIT__TESTS_EXIFTOOL_EXECUTABLE: perl ${{ github.workspace }}/exiftool/exiftool.pl
124 changes: 124 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
name: Release

on:
push:
tags:
- "v*.*.*"

jobs:
build_and_release:
if: ${{ startsWith(github.ref, 'refs/tags/') }}

strategy:
matrix:
python-version: [ "3.11" ]
platform: ["macos-latest"] # "ubuntu-20.04","windows-latest"
architecture: [ "x64" ]
include:
- architecture: "x86"
platform: "windows-latest"
python-version: "3.11"

runs-on: ${{ matrix.platform }}

defaults:
run:
working-directory: ./main

steps:
# https://github.com/actions/checkout#Checkout-multiple-repos-side-by-side
- uses: actions/checkout@v4
with:
path: main

- name: Setup ExifTool
uses: actions/checkout@v4
with:
repository: "exiftool/exiftool"
path: exiftool

- name: Check ExifTool version
run: |
mv ${{ github.workspace }}/exiftool/exiftool ${{ github.workspace }}/exiftool/exiftool.pl
perl ${{ github.workspace }}/exiftool/exiftool.pl -ver

- name: Setup FFmpeg
uses: FedericoCarboni/setup-ffmpeg@v3

if: matrix.platform != 'macos-latest'

- name: Set up ${{ matrix.architecture }} Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .

# - name: Validate version
# run: |
# EXPECTED_GITHUB_REF=$(mapilio_kit --version | awk '{print "refs/tags/v" $1}')
# if [[ "$EXPECTED_GITHUB_REF" != "$GITHUB_REF" ]]; then
# echo "Version mismatch: $EXPECTED_GITHUB_REF != $GITHUB_REF"
# exit 1
# fi
# if: matrix.platform != 'windows-latest'



- name: Build and test with Pyinstaller on MacOS
if: matrix.platform == 'macos-latest'
run: |
python3 -m pip install pysocks
python3 -m pip install pyinstaller
python3 -m pip install pillow
chmod +x ./script/build_osx
./script/build_osx
./dist/releases/MapilioKit-Flask-osx-arm64
env:
MAPILIO_KIT__TESTS_EXECUTABLE: ./dist/osx/mapilio-kit
MAPILIO_KIT__TESTS_EXIFTOOL_EXECUTABLE: perl ${{ github.workspace }}/exiftool/exiftool.pl

- name: Build and test with Pyinstaller on Ubuntu
if: matrix.platform == 'ubuntu-20.04'
run: |
python3 -m pip install pysocks
python3 -m pip install pyinstaller
python3 -m pip install pillow
chmod +x ./script/build_linux
./script/build_linux
chmod +x ./dist/releases/mapilio-kit--linux-x86_64
env:
MAPILIO_KIT__TESTS_EXECUTABLE: ./dist/linux/mapilio-kit
MAPILIO_KIT__TESTS_EXIFTOOL_EXECUTABLE: perl ${{ github.workspace }}/exiftool/exiftool.pl

- name: Build and test with Pyinstaller on Windows
if: matrix.platform == 'windows-latest'
run: |
python3 -m pip install pysocks
python3 -m pip install pyinstaller
./script/build_bootloader.ps1
./script/build_win.ps1
if (Test-Path ./dist/win/mapilio-kit--win-32bit.exe) {
cp ./dist/win/mapilio-kit--win-32bit.exe mapilio-kit--win-32bit.exe
}
if (Test-Path ./dist/win/mapilio-kit--win-64bit.exe) {
cp ./dist/win/mapilio-kit--win-64bit.exe mapilio-kit--win-64bit.exe
}
env:
MAPILIO_KIT__TESTS_EXECUTABLE: mapilio-kit_WINDOWS_VERY_HARD_TO_FIND_YOU_IN_ANOTHER_DIR_SO_I_MOVE_YOU_HERE.exe
MAPILIO_KIT__TESTS_EXIFTOOL_EXECUTABLE: perl ${{ github.workspace }}/exiftool/exiftool.pl

- name: Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
draft: true
generate_release_notes: true
fail_on_unmatched_files: true
files: |
./main/dist/releases/*
159 changes: 159 additions & 0 deletions create_spec.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
import os
import subprocess
import sys
from pathlib import Path

def install_exiftool():
if sys.platform == 'linux':
subprocess.run(['sudo', 'apt', 'install', '-y', 'exiftool'], check=True)
elif sys.platform == 'darwin':
subprocess.run(['brew', 'install', 'exiftool'], check=True)
elif sys.platform == 'win32':
subprocess.run(['powershell', '-Command',
'Set-ExecutionPolicy Bypass -Scope Process -Force; '
'[System.Net.ServicePointManager]::SecurityProtocol = '
'[System.Net.ServicePointManager]::SecurityProtocol -bor 3072; '
'iex ((New-Object System.Net.WebClient).DownloadString(\'https://community.chocolatey.org/install.ps1\'))'],
check=True)
subprocess.run(['choco', 'install', 'exiftool', '-y'], check=True)
else:
raise ValueError("Unsupported platform")


def get_exiftool_path():
try:
if sys.platform == 'linux' or sys.platform == 'darwin':
# Unix-based systems (Linux, macOS)
result = subprocess.run(['which', 'exiftool'], capture_output=True, text=True)
elif sys.platform == 'win32':
# Windows
result = subprocess.run(['where', 'exiftool'], capture_output=True, text=True)
else:
raise ValueError("Unsupported operating system")

if result.returncode != 0:
raise ValueError("ExifTool not found")
return result.stdout.strip()
except subprocess.CalledProcessError as e:
raise ValueError(f"Error finding ExifTool: {e}")

def get_installed_package_path(package_name):
result = subprocess.run([sys.executable, '-m', 'pip', 'show', package_name], capture_output=True, text=True)
if result.returncode != 0:
raise ValueError(f"Package {package_name} not found")

location = None
for line in result.stdout.splitlines():
if line.startswith('Location:'):
location = line.split(' ', 1)[1].strip()
break

if not location:
raise ValueError(f"Location not found for package {package_name}")

package_folder_name = package_name.split('-')[0]
package_path = Path(location) / package_folder_name
if package_path.exists():
return package_path

package_folder_name = package_name.replace('-', '_')
package_path = Path(location) / package_folder_name
if package_path.exists():
return package_path

package_path_with_py = package_path.with_suffix('.py')
if package_path_with_py.exists():
return package_path_with_py

if package_name == 'attrs':
alt_package_name = 'attr'
alt_package_path = Path(location) / alt_package_name
if alt_package_path.exists():
return alt_package_path

raise ValueError(f"Package path not found for {package_name}")

def create_spec_file():
requirements_file = 'requirements.txt'
spec_file = 'flask_app.spec'
icon_file = 'mapilio_ico.ico'

current_directory = os.getcwd()
datas = [('templates', 'templates'), ('static', 'static'), ('mapilio_kit', 'mapilio_kit'), ('mapilio_ico.ico', 'mapilio_ico.ico')]
hiddenimports = ['configparser']

install_exiftool()
try:
exiftool_path = get_exiftool_path()
datas.append((exiftool_path, 'exiftool'))
except ValueError as e:
print(f"Warning: {e}")

with open(requirements_file) as f:
packages = [line.split('==')[0].strip() for line in f if line.strip() and not line.startswith('#')]
print(packages)

for package in packages:
try:
if package == 'ExifRead':
package = 'exifread'
package_path = get_installed_package_path(package)

package_folder_name = package.replace('-', '_')
hiddenimports.append(package_folder_name)

if package_folder_name == package:
package_data_name = package
else:
package_data_name = package_path.parts[-1]

datas.append((str(package_path), package_data_name))

except ValueError as e:
print(f"Warning: {e}")
print(datas)
with open(spec_file, 'w') as f:
f.write(f"""
# -*- mode: python ; coding: utf-8 -*-

block_cipher = None

options = [("u", None, "OPTION")]

a = Analysis(
['flask_app.py'],
pathex=[SPECPATH],
binaries=[],
datas={datas},
hiddenimports={hiddenimports},
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)

exe = EXE(
pyz,
a.scripts,
options,
a.binaries,
a.zipfiles,
a.datas,
[],
name='MapilioKit-Flask',
debug=False,
strip=False,
upx=True,
runtime_tmpdir=None,
console=True,
icon='{icon_file}'
)

app = BUNDLE(exe, name='kit-gui.app', icon='mapilio_ico.ico', bundle_identifier=None)
""")

if __name__ == "__main__":
create_spec_file()
2 changes: 2 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,5 @@ RUN make -C /app/dependencies/max2sphere-batch -j4
RUN cp /app/dependencies/max2sphere-batch/MAX2spherebatch /app/bin/

RUN python3 -m pip install --upgrade git+https://github.com/mapilio/mapilio-kit

RUN git clone -b flask_app https://github.com/mapilio/mapilio-kit.git
7 changes: 3 additions & 4 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
version: '3'
services:
kit:
mapiliokit:
image: kit
container_name: kit
build: .
stdin_open: true
tty: true
volumes:
- <your_local_videos_path>:/app/data/
ports:
- "8080:8080"
Loading
Loading