Dependencies :
Any questions or concerns talk to Rejon Taylor-Foster.
##Schedule and Demos Every Monday there's a new version pushed to the Victory demosite.
Every Friday the project code is reviewed, cleaned, and documented.
Demo: https://victoryprd.com/demos/5671
##Current Tasks
- Build templates for all activities.
- Limit highlighting to specific elements.
- Prepare Metacog
- Finalize Quiz Template
##Before Starting
- Install Node.js.
- In the root folder ("5671-BostonMassacre") type
npm install -gand run it.
On Windows your command line will look like:
C:/Users/Name/path/to/file/5671-BostonMassacre> npm install -g
On OSX your command line will look like:
User:5671-BostonMassacre user$ npm install -g
If you get an Error,
i. Make sure Node has installed correctly by typing
node -v. You should see what version of Node you've installed. (ex. v.0.10.35)
ii. Make sure NPM has installed correctly by typing
npm -v. You should see what version of NPM you've installed. (ex. v.0.10.35)
iii. If none of these work, reinstall Node.js.
iv. If you've reinstalled Node.js and the problem persists, make sure you've typed
npm install -gcorrectly.
##Building Templates
To keep load time down we are proprocessing our .handlebars templates. Into a single file called "templates.js"
NOTE: Skip this step if you haven't updated/built any new handlebars templates.
NOTE: If you have built new handlebars templates, run the step below before building the application.
- In Terminal (OSX/Linux) or Command Prompt (Windows) run
handlebars app/templates/ -f app/js/templates.js
##Building the Application
-
After cloning this repository open up Terminal (OSX/Linux) or Command Prompt (Windows).
-
In the root folder ("5671-BostonMassacre") type
gulpand run it.If you get an Error,
i. Type
npm install --global gulp-cliand run it.
ii. Then run
gulpagain.
Known Errors
If you see
node-sassanywhere in the error code typenpm rebuild node-sassand run it.
- You should see
[hour:minute:seconds] Using gulpfile ~pathTofile/5671-BostonMassacre/gulpfile.jsand a list ofStartingandFinishinglines.
If you get an Error,
i. Check if you spelt
gulpcorrectly.
ii. Try to run it again.
- Once the function is done running it will open your default browser and load the application.
NOTE: Any saved changes made to code while
[BS] Serving files from: appor[BS] Reloading >Browsers...is running in the terminal will automatically reload the browser with the changes applied.
##How to Distribute
- When you're done hit 'Ctrl-C' to stop terminal functions if BrowserSync is still running.
- Drag the contents of the app folder anywhere you want to deploy it.