Skip to content

Instantly share code, notes, and snippets.

View morecallan's full-sized avatar

Callan Morrison morecallan

View GitHub Profile
@morecallan
morecallan / 0_taskrunners.md
Last active June 24, 2021 15:07
Task Runners & Browserify: Project Setup || Working on Teams

INITIALLY

Directory Structure:

  |- dist/
  |- javascripts/
  |  - main.js
  |- lib/
  |- styles/
# NSS Group Exercise: Chatty
### Specs:
> Create a Single Page Application that mirrors a "chat room" and features the following:
1. Sticky Navigation:
* Input field that accepts return key as submit
- Can also be done through the User Input
* Button to clear message board (last 20 messages)
* Themes button that brings up modal
Setting Up Browserify for a project:
1. Installing Task Runners for individual project files for Browserify in TERMINAL (make sure to pwd/cd into your Gauntlet folder):
b. npm init (yes to all defaults)
c. npm install gulp jshint gulp-jshint jshint-stylish gulp-watch watchify browserify vinyl-source-stream vinyl-buffer gulp-util gulp-sourcemaps lodash.assign jquery bootstrap sass gulp-sass --save
2. [touch gulpfile.js]
```
@morecallan
morecallan / Task Runneres
Last active May 9, 2016 23:35
Task Runners
Whenever creating a never (IN THE PROJECT FOLDER):
1. TERM: touch .gitignore
node_modules
bower_components
.DS_Store
(never check in your PM folders to github)
2. SUBLIME: Create boilerplate (MAKE SURE TO ADD JS FILES TO JAVASCRIPTS DIR - EXCEPT gulpfile.js
3. TERM: bower init (- yes to defaults)
# NSS Group Exercise: Chatty
### Specs:
> Enter specs here
### Technologies Used:
> 1.
> 2.