Authors: Stephan Ferenz, Aida Jafarbigloo
Getting started
- Cloning the repository
- Copy URL of the project from Clone with HTTPS.
- Change the current working directory to the desired location.
- Run
git clone <URL>
in command prompt. (GitBash can be used as well)
- Creating virtual environment
Make sure Python is installed.
- Ensure you can run Python from command prompt.
- On Windows: Run
py --version
. - On Unix/MacOS: Run
python3 --version
.
- On Windows: Run
- Create the virtual environment by running this code in the command prompt.
- On Windows: Run
py -m venv <name-of-virtual-environment>
. - On Unix/MacOS: Run
python3 -m venv <name-of-virtual-environment>
.
- On Windows: Run
for more details visit https://docs.python.org/3/library/venv.html- Activate virtual environment.
- On Windows: Run
env\Scripts\activate
. - On Unix/MacOS: Run
source env/bin/activate
.
- On Windows: Run
env is the selected name for the virtual environment. Note that activating the virtual environment change the shell's prompt and show what virtual environment is being used.
- Managing Packages with pip
- Ensure you can run pip from command prompt.
- On Windows: Run
py -m pip --version
. - On Unix/MacOS: Run
python3 -m pip --version
.
- On Windows: Run
- Go to meta_tool directory. (
cd meta_tool
) - Install a list of requirements specified in a Requirements.txt.
- On Windows: Run
py -m pip install -r requirements.txt
. - On Unix/MacOS: Run
python3 -m pip install -r requirements.txt
.
- On Windows: Run
for more details visit https://packaging.python.org/en/latest/tutorials/installing-packages/
Running the project
- Open the project in an editor. (e.g. VS code)
- Run the project in the editor. (Project runs on the virtual environment and activating the virtual environment will change shell’s prompt to show what virtual environment is being used)
- Go down to meta_tool directory in command line or terminal. (
cd meta_tool
) - To run the project use subcommand runserver.
- On Windows: Run
py manage.py runserver
. - On Unix/MacOS: Run
python3 manage.py runserver
.
- On Windows: Run
- To see the output on the browser follow the link shown in the terminal. (e.g. http://127.0.0.1:8000/)
Tip for developers
If the page does not refresh correctly, clear the browser cache. You can force Chrome to pull in new data and ignore the saved ("cached") data by using the keyboard shortcut Cmd+Shift+R
on Mac, and Ctrl+F5
or Ctrl+Shift+R
on Windows.
Setting Up GitLab/GitHub Personal Token
To enhance the functionality of this program and ensure secure interactions with the GitLab/GitHub API, users are required to provide their personal access token. Follow these steps to integrate your token:
- Generate a GitLab Token:
- Visit Create a personal access token for more information on how to generate a new token.
- Generate a GitHub Token:
- Visit Managing your personal access tokens for more information on how to generate a new token.
To see upcoming features, please refer to our open issues.
We would like to thank meta_tool for providing the foundational framework upon which this project is built.