Giter VIP home page Giter VIP logo

rs232-mds-mkv-alec.co's Introduction

RS232-MDS-MKV-Alec.Co


For general use:

On Windows:

(- Install the drivers (for win10 1804+ make sure to install prolific 3.8.28.0 or below driver else it will not work) : https://www.ugreen.com/drivers/list-USB_To_RS232_Driver-en.html) (optional try first the release)

On linux

(- Install the drivers : https://www.ugreen.com/upload/file/FTDI232_Linux.zip) ( optional, try to see if it is available in /dev/ttyUSB0 or /dev/ttyS0 ...)


ONE LINE RUNNER (for apt based)

sudo apt-get update && sudo add-apt-repository ppa:deadsnakes/ppa && sudo apt install git curl python3.7 python3.7-tk && git clone https://github.com/ErwanKESSLER/RS232-MDS-MKV-Alec.Co && cd RS232-MDS-MKV-Alec.Co && curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && sudo python3.7 get-pip.py && rm get-pip.py && sudo python3.7 -m pip install -r requirements.txt && sudo python3.7 -m pip install -U Pillow && sudo python3.7 MDSMKV/main.py

ONE LINER BUILDER (for apt based)

sudo apt-get update && sudo add-apt-repository ppa:deadsnakes/ppa && sudo apt install git curl python3.7 python3.7-tk python3.7-dev && git clone https://github.com/ErwanKESSLER/RS232-MDS-MKV-Alec.Co && cd RS232-MDS-MKV-Alec.Co && curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && sudo python3.7 get-pip.py && rm get-pip.py && sudo python3.7 -m pip install -r requirements.txt && sudo python3.7 -m pip install pyinstaller && sudo python3.7 -m pip install -U Pillow && cd MDSMKV && pyinstaller --onefile main.py --distpath Release --clean -n MDSMKV && sudo Release/MDSMKV

HOW TO BUILD FROM SOURCES

  • First and foremost, please run sudo apt-get update or pacman -Sy to update your cache

  • You need git and curl so if you dont have them, please do sudo apt install git curl or sudo pacman -S git curl

  • Clone the repository git clone https://github.com/ErwanKESSLER/RS232-MDS-MKV-Alec.Co and cd to it cd RS232-MDS-MKV-Alec.Co

  • Install Python 3.7+ with sudo add-apt-repository ppa:deadsnakes/ppa && sudo apt install python3.7 or sudo pacman -S python3.7 (or yay...)

  • Install Tk on linux sudo apt install python3.7-tk or sudo pacman -S tk (or yay...)

  • Install pip if not available curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && sudo python3.7 get-pip.py && rm get-pip.py

  • Do sudo python3.7 -m pip install -r requirements.txt at the folder root (1)

  • You can try to run the program directly: sudo python3.7 MDSMKV/main.py

  • If there is an error with PIL in it then you need to run that sudo python3.7 -m pip install -U Pillow

TO FREEZE (CREATE AN EXECUTABLE OF) THE PROGRAM ON YOUR MACHINE (AND POSSIBLY OTHERS)

  • Do sudo apt install python3.7-dev

  • Do sudo python3.7 -m pip install pyinstaller

  • Do cd MDSMKV && pyinstaller --onefile main.py --distpath Release --clean -n MDSMKV

  • You can now run your release file from the Release folder with sudo Release/MDSMKV

Warning it is recommended to execute in sudo so you can access the /dev/tty port, you can also make them usable for standard user but it requires to modify the system

if needed :


rs232-mds-mkv-alec.co's People

Contributors

erwan-kessler avatar mr-demonicon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.