Skip to content

kwilliams31/fuzzy-chainsaw-november

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fuzzy-chainsaw-november

set up dev box

  • download & install node
  • check it: node -v
  • turn it off and on...might need to kill terminal/vsCode and restart for node -v to register
  • (assumes bash/gitbash, vsCode)

set up REPO (initialize)

  • recommended: set up remote first, via github
  • new repo
  • no template + take their suggested name add on lab or some i.d. info +
  • public, add readme, gitignore = node, license = GNU GPL 3.0

set up dev space

  • tools: vsCode, terminal
  • open workspace in vsCode
    • navigate to PROPER DIRECTORY
  • connect remote repo: git clone
    • navigate to PROPER DIRECTORY, i.e., cd into the new dir/ git clone just created
    • for fun: git pull
  • install express or check npm info express
  • initialize node project: npm init -y
  • check over package.json
  • code your app.js
  • test locally node app.js & http://localhost:3000
    • if prompted (on a PC) allow to pass through firewall or whatever
  • kill node process: ctrl + c

push to remote

  • git status
  • git salute: add commit push (barry’ism)
  • go check it on GitHub

ready for depoyment on a PaaS?

notes

  • when initializing git from dev box…resolve main/master
    • use “main” nomenclature
  • on vsCode.dev… can’t do terminal cmd

Releases

No releases published

Packages

No packages published

Languages

  • HTML 88.4%
  • EJS 5.4%
  • JavaScript 4.8%
  • CSS 1.4%