Terminal based application for building statistics on Jira issues.
- Clone the repository git clone https://github.com/cmolisee/jkpy.gitorgit clone [email protected]:cmolisee/jkpy.git.
- Install python brew install python.
- Get your email associated with JIRA and create an API token in JIRA.
- Run make setup email=<your_email> token=<your_token>.
- see makefile or make help to setup the remainder of the configurations.
Ensure you have the following:
- python3.
- pip3(or similar).
- brew install python.
- verify with python --versionand see version 3+.
If you installed correctly then pip3 and venv should be installed with python3.
- Pull the main branch git clone https://github.com/cmolisee/jkpy.gitorgit clone [email protected]:cmolisee/jkpy.git.
- Install with make install
You can manually install as follows:
1. python3 -m venv ~/Downloads/venv/jkpy or a path of your choice.
2. your-venv-path/bin/pip3 install -q build.
3. your-venv-path/bin/python3 -m build.
4. your-venv-path/bin/pip3 install dist/jkpy-1.0.0.tar.gz.
~/Downloads/venv/jkpy is the default VENV path set in the Makefile.
You can update this to create the python venv in a path of your choice by editing the Makefile.
venv (or similar) is simply a container environment to run python. To run custom commands from the terminal you must start your venv manually:
source your-venv-path/bin/activate (i.e. source ~/Downloads/venv/jkpy/bin/activate)
This will start the venv so that any commands you run with pip3, python3, or other installed packages in this environment will be recognized.
If you installed the application as defined above then you will be able to run jkpy without the need for python3 command. As long as the venv
is active you can run the application or any other installed python packages.
To deactivate the venv simply run deactivate.