git clone https://github.com/trek-view/mtp-desktop-uploader/
For MacOS / Linux ONLY do this
chmod -R 755 "node_modules/ffmpeg/binary/darwin/ffmpeg"
cp -R node_modules/ffmpeg/binary binary/
chmod -R 755 binary/
Make a copy of the
.env-sample file in
/ROOT/ with the name
.env to add your own environmental variables
cp .env-sample .env
You can version the app release by following both these steps:
PROJECT ROOT FOLDER/package.json and change version to
PROJECT ROOT FOLDER/app/package.json and change version to
You must enter a Mapbox Access Token in the new
.env file for MTPDU to work.
Create a Mapbox Access Token here. Mapbox is a paid service, but has a free tier allowing for 50,000 map loads per month.
Add the Mapbox token in
.env against this key:
The other key/values in the
.env file (e.g.
MTP_WEB_APP_ID=) perform non-essential functions described in the App Functions section of this wiki.
They can be left blank without causing any breaking issues, though associated functionality will be limited.
Start the app in the
dev environment. This starts the renderer process in hot-module-replacement mode and starts a webpack dev server that sends hot updates to the renderer process:
To package apps for the local platform (the OS your machine is running):