|
## Install Git LFS |
|
``` |
|
brew install git-lfs |
|
``` |
|
or download from https://git-lfs.github.com/ |
|
|
|
## Update global git config |
|
``` |
|
$ git lfs install |
|
``` |
|
|
|
## Update system git config |
|
``` |
|
$ git lfs install --system |
|
``` |
|
|
|
## Clone the Repo |
|
|
|
### Entire Clone |
|
``` |
|
git clone https://huggingface.co/webslate/transactify |
|
``` |
|
|
|
### Light Clone |
|
``` |
|
GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/webslate/transactify |
|
``` |
|
|
|
## For Pushing the Code |
|
|
|
> Refer to https://huggingface.co/blog/password-git-deprecation |
|
|
|
### Set the Remote URL |
|
``` |
|
$: git remote set-url origin https://<user_name>:<token>@huggingface.co/<repo_path> |
|
``` |
|
### Token Creation |
|
|
|
> Go to Settings > Access Tokens > Create new token > |
|
Choose Write Tab (3rd one) / go here https://huggingface.co/settings/tokens/new?tokenType=write |
|
|
|
|
|
## Create Virtual Environment |
|
|
|
``` |
|
create a Virtual Environment for Transactify project... |
|
python -m venv transactify_venv |
|
|
|
To activate environment.. |
|
go to cmd .. |
|
type >> cd transactify_venv |
|
>> cd scripts |
|
>> activate |
|
``` |
|
## Installing Required Libaries. |
|
|
|
to install required libaries... |
|
go to cmd.. |
|
type >>pip install -r requirements.txt |
|
|