Installation & Setup
Prerequisites
Python 3.9+ or Miniconda 4.10+ installed
Visual studio 2019+ installed for Windows users. For Mac OS X, we recommend Visual Studio Code.
Fork and Clone Repository
For the repository using GitHub
To fork the Credmark Models repository, first go to the credmark-models-py repository in Github.
Fork the repository by clicking on Fork
You will be directed to Create a new Fork page
Give a name to your Repository and click on Create Fork.
Clone the new form using the CLI
Virtual Environment Setup
Setting up a virtual environment for your work isn't required but we highly recommend it. Following are instructions for both Conda and venv. Use the one you prefer.
Conda
Install Conda.
Create an environment named "cmf" with the system's default using the system's default version of Python:
or
create it specifying a particular version of Python:
Install pip and other support packages in the Conda environment:
Activate the environment and follow the CMK installation instructions below:
venv
The best place to create your venv environment is in the project directory you cloned.
Assuming your cwd is the one above the repository you've just cloned, create and activate your virtual environment:
Install Dependencies
Run:
For development, you should also run:
Test your Setup
Your output should look something like:
Last updated