anikaagit / Anika_2025

Apache License 2.0
0 stars 0 forks source link

Live Quiz #2

Open anikaagit opened 2 months ago

anikaagit commented 2 months ago
  1. Erase existing environment (screen capture)
  2. Set up our working environment (git clone's)
anikaagit commented 2 months ago
  1. Erase environment image The command rm - rf is used to REMOVE directories - I use this to remove the Nighthawk directory in this step. After I remove it, it no longer appears in the list. We erased our existing virtual environment and then in the next step we started to set up a new one.

image

This is a picture of my index.md file opened ON github on the cloud (NOT locally yet)

anikaagit commented 2 months ago
  1. Clone repo
  2. image

The git clone command sets up my environment. I make a new nighthawk directory and I take the link from my personal Anika_2025 github repository and clone it into VScode, which clones all the files from that repository onto my VScode locally. It will show up in the nighthawk directory, because that is where I cloned it into

anikaagit commented 2 months ago

activate tools step

image

Here I am checking the versions I have of all my tools and packages to make sure they are up to date and working. For example, I use the command "python --version" to see that my existing version of python is 3.10.12

anikaagit commented 2 months ago

Setup Environment for Project

This command creates my virtual environment

scripts/venv.sh image

venv stands for virtual environment and once I run the command scripts/venv.sh, it creates my virtual environment and you can see that since "venv" shows up as a list term in my Anika_2025 repo

anikaagit commented 2 months ago

Run Server

image

Now that I have my virtual environment set up, I type in "make" so I can make a new project, and it ends with it giving me a server address that I can click on so I can see my index.md file locally. It's my local server and I know this because the server address contains my IP address

anikaagit commented 2 months ago

Run Server Address

image

This is a result of what happens when I click on the server address. As you can see, the index.md file is now on my computer locally, where I can make more changes to it etc

F1nnC commented 2 months ago

1.8/2