Skip to content

askjag07/wdc

Repository files navigation

Gatsby

WDC Website Template

Have questions? Email us.

This is a quick template for making a website. Out of the box, it's fast, efficient, and secure. You can follow these steps and links or attend our club meetings to learn more.


🗺️ Table of Contents

  1. a. Set up your computer (first time only)

    b. Start customizing

    c. Learn more

  2. a. Login to GitHub

    b. Initialize a repository

    c. Login to Gatsby Cloud

    d. Launch your website


🚀 Quick start

a. Set up your computer (first time only)

  • School Laptop

    i. Log in to GitHub.

    ii. Press the + button on the top-right corner.

    GitHub 1

    iii. Select New repository.

    GitHub 2

    iv. Click this textbox, type your project's name, and press Enter.

    GitHub Repo 1

    v. Press the copy button on the right side of the screen.

    GitHub Repo 1

    vi. Open Visual Studio Code.

    vii. Press this button on the left.

    VS Code 1

    viii. Select Clone Repository and press Enter until your browser opens.

    VS Code 2

    ix. Enter your GitHub username and password again and press Enter until you see the Repository name search menu.

    x. In the search menu, type columbusacademy/wdc-jamplate, and press Enter.

    xi. The file explorer should open. Click the Desktop folder and press Enter.

    xii. On the bottom right, click Open.

    VS Code 3

    xiii. Select Yes, I trust the authors.

    VS Code 4

    xiv. Press this button on the left.

    VS Code 1

    xv.

    xix. Open the terminal.

    Terminal

    xv. Type chmod 755 setup.sh && ./setup.sh and press Enter.

    That's it!

    Next: Open the code and start customizing!

  • Personal Computer

    See below.

b. Open the code and start customizing!

  1. Open your project folder in VS Code (done in the previous section)

VS Code 5

  1. Open the terminal.

Terminal

  1. Type npm t and press Enter.

Your site is now running at http://localhost:8000!

(Please tell me your default browser is Chrome.)

Edit src/pages/index.js to see your site update in real-time!

c. Learn more


🚀 To the internet!

Deploy this website with one click on Gatsby Cloud:

  1. Create an account on Gatsby Cloud.

  2. Select Authorize Gatsby Cloud.

Gatsby Cloud 1

  1. Click Add a site +.

Gatsby Cloud 2

  1. Select GitHub.

Gatsby Cloud 3

  1. Select Click here to add an installation.

Gatsby Cloud 4

  1. In the pop-up window, scroll down and click Install.

Github 3

  1. The pop-up window should close. Find your project's name and click Import next to it.

Gatsby Cloud 5


💻 Personal Computer Setup

MacOS

  • Download Visual Studio Code

  • Download Git

    1. Open spotlight ( + Space ), type terminal, and press Enter.

    2. Click inside the newly opened window.

    3. Type git and press Enter.

    4. Follow the prompts to compete the installation.

  • Go to the School Laptop setup.

Windows

  • Download Visual Studio Code

  • Download Git

  • Download NVS

    1. Click on nvs-x.x.x.msi (the x's will be numbers) and press Enter.
    nvs
    1. Open the file and follow the prompts to complete the installation.
  • Set up everything else

    1. Follow the School Laptop instructions up to xiv.

    2. Type the following, pressing Enter after each line.

          cd OneDrive/Desktop/wdc-jamplate-main
          nvs add lts
          nvs use lts
          nvs link lts
          npm i -g npm npm-check-updates gatsby-cli
          npm i
          echo "\n\nYou're welcome ;)\n"
    3. Next: Open the code and start customizing!

Linux

Don't worry. We still love you.

Just email us to set up an in-person or zoom meeting.


👑 Remember: Ask questions!

If you have any questions or interesting ideas, we're here to help. Email us and set up an in-person or zoom meeting.

About

The official CA Web Design Club website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published