GithubHelp home page GithubHelp logo

nupaths1's Introduction

Project 1 Outline

Initial Dev Enviroment Set Up

  1. Install Visual Studio Code
    • make sure you get the right version for your machine (32 v 64) download vs code
  2. Install Node.js
    • Pick the LTS (node-v14.x.x)
    • make sure you get the right version for your machine (32 v 64) download node.js

Project Enviroment Set Up

  1. Download This Repository

    • Click on the breen "Code" button
    • Click on 'Download zip' download zip image
    • Unzip the zipped directory
    • Move the directory to a location of your choosing (your new workspace)
  2. Open VS Code

    • you will be given an option to pick a theme (dont stress too much we can always change this later)
  3. Click on File in the top left

  4. Click on open

  5. Navigate to and open the directory downloaded in step 1.

  6. Open the intergrated VS Code terminal

    • View > Terminal
    • The terminal will open at the bottom terminal overview (NOTE: Your terminal will look different and may have a longer path e.g.)
          C:\Users\<USER_NAME>\<PATH>\<TO>\project
  7. Installing the devlopment dependencies

    • Click in the terminal then write or type the following:
        npm install
    • This will install node's http-server (which i was using) and someother tools to allow for hot-reloading, so that your web apps will reload on all CSS, HTML, and JS changes! (NOTE: You only really need to run npm install once for each project, however it doesnt hurt to run it again.) npm install output

Run the project!

  1. In the teminal run:
        npm start
    • This may open up your default browser
    • If it doesnt or it's not you browser of choice (cough IE, Edge, Safari cough)
    • Then copy either the top Local or External Access URL into you browser of choice (NOTE: Inculde the port number in the URL: http://<URL>:<PORT>) (NOTE: The Local URL can only be used on the local machine (i.e. your PC)) (NOTE: The External URL can be used on any machine on your network!!(e.g. your mobile phone -- this is great for testing websites on your phone!!))
  2. Feel free to code away! Also notice that ever time you save (hotkey ctrl + s (or ctrl + k + s or save all) your website should update!)

Stopping the App

  1. In the teminal pane's top left you should see Node
    • Either right click on that to expose the context menu and click Kill Terminal
    • OR Click on the trash can icon (NOTE: If you click on the trash can icon you'll have to reopen another terminal [see step 6 in Project Enviroment Setup](#Project Enviroment Set Up))

Other Tools

  • Slack
    • Slack is a multiplatform IM service that allows for sending files, code, images, etc
    • I'll create a slack group for us and send out invites this week.
    • It's a great way to communicate asynconously!
    • Also it's built using JS, CSS, and HTML!!
  • GitHub
    • GitHub is one of many remote git repositories
    • git is currently the most widely used versioning tool for developers/engineers
    • We may not use git in this class but I will share a lot on it
    • I do recommend getting an account as it's something that you can use to show off you code!

Useful Links

Useful things for kevin:

nupaths1's People

Contributors

kevinatown avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.