Skip to content

Evolvus/precision-native

Repository files navigation

precision-native

Command line menu driven front end for Migration Use cases

Quick Usage

git clone git@github.com:ennovatenow/precision-native.git
cd precision-native

python3 -m pip install --index-url https://test.pypi.org/simple/ precision_100
python3 -m pip install --index-url https://test.pypi.org/simple/ precision_100_operators


./bin/configure-project.sh
./init-exec.sh mock1
./migrate.sh

This will create the $HOME/precision100 folder and execute the simple-demo project.

A longer example

To execute a precision 100 project using the precision-native client we need to follow the steps mentioned below,

Prerequisites

To execute the project the requirements are

  1. python3 version ** > 3.11**
  2. Precision-100 Framework
  3. Precision-100 Operators

python3 version should be > 3.11

python3 --version
Python 3.13.2

For demo/testing purposes we can create a virtual environment

python3 -m venv app
source app/bin/activate

Install Precision 100 and Precision 100 operators (for now the components are installed in https://test.pypi.org not http://pypi.org)

python3 -m pip install --index-url https://test.pypi.org/simple precision_100
python3 -m pip install --index-url https://test.pypi.org/simple precision_100_operators
python3 -m pip install --index-url https://test.pypi.org/simple precision_100_orcl_operators

Execution

To execute the project, follow the below steps,

Configure the project

./bin/configure-project.sh
Select the protocol for the project location (FILE or GIT location) (screenshot below)
Select the protocol to fetch the data
Select the URI of the project to be executed (screenshot below)
Select the URI to fetch the data
Select the name of the project to be executed (screenshot below)
Give a name for the project
Upon successfull configuration
Screenshot 2025-02-12 at 1 06 37 PM

Initialize mock1

./bin/init-exec.sh mock1
Upon successfull initialization of the mock
Start mock successfully

Execute the mock

./migrate.sh
The mock execution brings up the all the menus available for the precison 100 project.
Screenshot 2025-02-12 at 2 26 48 PM

Operating System Requirements

The native client uses the bash shell for most of its work, more specifically it uses bash 4.2 features like associative arrays. Although all development and tests of the framework is done on linux, the framwork should run on any operating system supporting the bash shell. Make sure you check your bash version.

$ bash --version
GNU bash, version 4.4.19(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Contributing

Thank you very much for considering to contribute!

Please make sure you follow our Code Of Conduct and we also strongly recommend reading our Contributing Guide.

About

Command line menu driven front end for Migration Use cases

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages