Skip to content

Documentation for new members to get started using our tools

Notifications You must be signed in to change notification settings

cudenver-ai/Documentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Documentation Repo

Setup Git in Your System

  1. Go to the link: Git - Downloading Package (git-scm.com)

  2. 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).
  3. Once the .exe file is downloaded, click on it.

  4. Accept the terms and conditions for installation.

  5. Before installation, you will see a message showing what will be installed, including Git Bash.

  6. Once you download Git from the above link, you should be able to see Git Bash installed.

Set up SSH Key

  1. Open Git Bash and paste this text:

    ssh-keygen -t ed25519 -C "[email protected]"
  2. Add the file to save the keys (just press enter to accept the default path unless you want to change it).

  3. It will ask for a passphrase. Press enter twice to skip.

  4. 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]'

Add SSH Key to GitHub

  1. Go to your GitHub account:
    • Settings => SSH and GPG keys
  2. 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.

description



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

Clone the Repository

  1. Go to your GitHub account:
    • Navigate to cudenver-ai organization.
    • Go to Adversarial Machine Learning.
    • Click on Code.
    • Click HTTPS, then copy the link.

description


  1. Open Git Bash:

    • Type git clone and paste the link.
    git clone <paste_the_link>

Recommendation: Open the repositories in Visual Studio. You can also use GitHub Desktop.

Code Setup

Back-end Installation – Anaconda is Recommended

  1. Link to download Anaconda: Download Anaconda Distribution | Anaconda

  2. Open Anaconda prompt:

    conda create -n aisa python=3.10
    • aisa is the name of a folder; you can change it.
  3. It will show a list of installations that will happen. To proceed, press Y.

  4. Activate the environment:

    conda activate aisa
  5. Navigate to the path of your folder (Documents\GitHub\Adversarial-Machine-Learning) for GitHub:

    cd path_of_your_folder
  6. Install required dependencies:

    pip install -r requirements.txt
  7. Navigate to the back-end folder:

    cd back-end
  8. Run the back-end:

    python app.py

Front-end Installation

  1. Link to download Node.js: Node.js — Download Node.js® (nodejs.org)

  2. Go to the pre-installer build, choose the latest LTS version, and follow the steps for setup on the Installer.

  3. Open Anaconda prompt, Enter path of yuor folder (Documents\GitHub\Adversarial-Machine-Learning):

    cd path_of_your_folder
    cd front-end
  4. Install dependencies:

    npm install
  1. Run the development server:
    npm run dev
  1. Then use the local host link to open the website. The back-end should be active at the same time.

Start Back-end

  1. Open Anaconda prompt:

    conda activate aisa
    cd path_of_your_folder
    cd back-end
    python app.py

Start Front-end

  1. Open Anaconda prompt:

    cd path_of_your_folder
    cd front-end
    npm run dev
  2. Then use the local host link to open the website. The back-end should be active at the same time.

About

Documentation for new members to get started using our tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published