Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quiz Issue #1

Open
Hypernova101 opened this issue Aug 28, 2024 · 0 comments
Open

Quiz Issue #1

Hypernova101 opened this issue Aug 28, 2024 · 0 comments

Comments

@Hypernova101
Copy link
Owner

Remember Forever Quiz

In this quiz, I removed the nighthawk directory from the home directory and then recreated it, launching my own blog again on localhost.

Step 1: Remove Nighthawk Directory

To remove the directory, to get started with the quiz, you first have to run rm -rf nighthawk.

Now, our nighthawk directory where our code originally was is deleted.

Step 2: Making a new directory

Now, we need to make a new, fresh nighthawk directory to store our student and portfolio repositories. We do this by running the following commands:

mkdir nighthawk
cd nighthawk

Then, once we're in the directory, we can clone our student and Mr. Mortensens portfolio repository.

git clone https://github.com/Hypernova101/MihirCSP.git
git clone https://github.com/nighthawkcoders/portfolio_2025.git

Now, to access my code, I need to run the following command:
code MihirCSP

Step 3: Opening Virtual Environment and Deploying

To open the virtual environment, we run the command source venv/bin/activate.

Now, we can run the make command to open our blog on localhost. Here, live changes are reflected, and once we're happy, we can push it to GitHub.

This is how localhost looks like on my student repository:

And this is how localhost looks like on the portfolio repository.

Now, all we have to do is push our code to GitHub to save, and we're done!

Repository owner deleted a comment Aug 28, 2024
@Hypernova101 Hypernova101 reopened this Aug 28, 2024
@Hypernova101 Hypernova101 reopened this Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant