/fab-dep

Primary LanguagePythonMIT LicenseMIT

Fabricator deployment tool

Usage

type fab at the command prompt and let the help guide you.

Building

Both a windows10 (64bit) and Ubuntu linux 18.04 (64bit) need to be built.

Windows

  • Goto the root of this project
  • Make sure the virtualenv is active (pipenv shell)
  • pyinstaller fab.spec
  • The installer will be built in the dist/fab folder
  • Run the inno setup script inc_mod_path.iss located in the tools folder and compile
  • Upload dist/fabtool-setup.exe to to: https://motorisation.hde.nl/bin/fabricator/win10/

Linux

  • Make sure you are in the root of this folder.
  • Run the docker container: docker run -it --entrypoint /bin/bash bionic-fabtool
  • Update the repo git pull
  • create a debian distributable: python3.7 deploy.py deploy-linux
  • upload the file: python3.7 deploy.py publish-linux <user> <pass>

Installing

Windows

Linux

  • Download the deb file: wget https://motorisation.hde.nl/bin/fabricator/ubuntu18_04/fab.deb ~/Downloads/
  • From the terminal: sudo dpkg -i ~/Downloads/fab.deb
  • to test the installation enter fab from the terminal.

Building a wheel:

flit build

installing from git:

pipx install --verbose --spec git+https://github.com/sander76/fab-dep.git fab_deploy

updating

pipx upgrade --verbose --spec git+https://github.com/sander76/fab-dep.git fab_deploy