-
Go to the link: Git - Downloading Package (git-scm.com)
-
Click download: You will be connected to your GitHub account.
- If you have 2FA set up, it will ask for one-time verification. Click verify, and you can pull the code from whichever authentication app you are using (e.g., Duo or another method).
-
Once the
.exe
file is downloaded, click on it. -
Accept the terms and conditions for installation.
-
Before installation, you will see a message showing what will be installed, including Git Bash.
-
Once you download Git from the above link, you should be able to see Git Bash installed.
-
Open Git Bash and paste this text:
ssh-keygen -t ed25519 -C "[email protected]"
-
Add the file to save the keys (just press
enter
to accept the default path unless you want to change it). -
It will ask for a passphrase. Press
enter
twice to skip. -
After this, you will get a key part, save it somewhere for later use. The key will look something like this.
Begins with 'ssh-rsa', 'ecdsa-sha2-nistp256', 'ecdsa-sha2-nistp384', 'ecdsa-sha2-nistp521', 'ssh-ed25519', '[email protected]', or '[email protected]'
- Go to your GitHub account:
- Settings => SSH and GPG keys
- Add a new SSH key:
- Take the key from Git Bash and paste it into the key section.
- Set the title as "AISA" or anything else that you prefer.
3. After this, your SSH key will be generated. Make sure to use your public key. You can use the `cat` command to show it:
cat path_to_your_file/name.pub
- Go to your GitHub account:
- Navigate to cudenver-ai organization.
- Go to Adversarial Machine Learning.
- Click on Code.
- Click HTTPS, then copy the link.
-
Open Git Bash:
- Type
git clone
and paste the link.
git clone <paste_the_link>
- Type
Recommendation: Open the repositories in Visual Studio. You can also use GitHub Desktop.
-
Link to download Anaconda: Download Anaconda Distribution | Anaconda
-
Open Anaconda prompt:
conda create -n aisa python=3.10
aisa
is the name of a folder; you can change it.
-
It will show a list of installations that will happen. To proceed, press
Y
. -
Activate the environment:
conda activate aisa
-
Navigate to the path of your folder (Documents\GitHub\Adversarial-Machine-Learning) for GitHub:
cd path_of_your_folder
-
Install required dependencies:
pip install -r requirements.txt
-
Navigate to the back-end folder:
cd back-end
-
Run the back-end:
python app.py
-
Link to download Node.js: Node.js — Download Node.js® (nodejs.org)
-
Go to the pre-installer build, choose the latest LTS version, and follow the steps for setup on the Installer.
-
Open Anaconda prompt, Enter path of yuor folder (Documents\GitHub\Adversarial-Machine-Learning):
cd path_of_your_folder cd front-end
-
Install dependencies:
npm install
- Run the development server:
npm run dev
- Then use the local host link to open the website. The back-end should be active at the same time.
-
Open Anaconda prompt:
conda activate aisa cd path_of_your_folder cd back-end python app.py
-
Open Anaconda prompt:
cd path_of_your_folder cd front-end npm run dev
-
Then use the local host link to open the website. The back-end should be active at the same time.