These are chat archives for jdlive07/portfolio

12th
Sep 2014
Dawson Reid
@dreid93
Sep 12 2014 17:44
Hey
jdlive07
@jdlive07
Sep 12 2014 17:45
yo
so yeah pardon my slowness
Dawson Reid
@dreid93
Sep 12 2014 17:45
So the cool thing about this chat is that it works off of your github profile
So this room is for your repo.
jdlive07
@jdlive07
Sep 12 2014 17:45
oh nice
Dawson Reid
@dreid93
Sep 12 2014 17:45
You can create custom rooms as well.
Also it support markdown, like the README file
jdlive07
@jdlive07
Sep 12 2014 17:46
i remember andrew saying some time ago that github got a chat or something
niiiiiiice
Dawson Reid
@dreid93
Sep 12 2014 17:46
So I can send you code :smile:
console.log('This is code');
jdlive07
@jdlive07
Sep 12 2014 17:46
lol
how did u do that again?
Dawson Reid
@dreid93
Sep 12 2014 17:47
Click the icon in the bottom right of this chat.
jdlive07
@jdlive07
Sep 12 2014 17:47
u have to choose which language it is and # the code?
Dawson Reid
@dreid93
Sep 12 2014 17:47
Directly to the left of the support icon.
jdlive07
@jdlive07
Sep 12 2014 17:47
o ok
Dawson Reid
@dreid93
Sep 12 2014 17:47
Do you see the markdown help?
jdlive07
@jdlive07
Sep 12 2014 17:48
yeah i see it
so anyway back to this
Dawson Reid
@dreid93
Sep 12 2014 17:48
So to pick a language you put the language name after the first triple back ticks
Yup. So you installed bower, and are having problems with grunt?
jdlive07
@jdlive07
Sep 12 2014 17:49
```
system.out.print("hey");
crap lol
i was testing
Dawson Reid
@dreid93
Sep 12 2014 17:50
You need to put three back ticks after the code too.
You can also go back and edit messages.
jdlive07
@jdlive07
Sep 12 2014 17:52
ok so how come the three ticks are still showing?
Dawson Reid
@dreid93
Sep 12 2014 17:53
You just need three ticks, code, then three ticks.
jdlive07
@jdlive07
Sep 12 2014 17:53
ooo ok
cout<<"yea";
nice ok kool so i installed bower n everything
that went well
well kind of
because after i installed bower i tried to install jquery...just for fun
bower install jquery
then it spat out git is not installed or not in the PATH
jdlive07
@jdlive07
Sep 12 2014 18:00
idk what's up with that part but anyway then i went and typed
npm install grunt --serve --save-dev
that worked

then i typed

grunt serve

but that of course didn't work

Dawson Reid
@dreid93
Sep 12 2014 18:25
Sorry Jade.
Are you still online.
jdlive07
@jdlive07
Sep 12 2014 18:28
yeah bro im still here
Dawson Reid
@dreid93
Sep 12 2014 18:30
Sorry man.
You've got my attention now.
So do you want to debug this problem?
jdlive07
@jdlive07
Sep 12 2014 18:31
i think i got it
i was using the node.js command prompt
Dawson Reid
@dreid93
Sep 12 2014 18:32
Ohhh.
jdlive07
@jdlive07
Sep 12 2014 18:32
but i switched to using git bash
Dawson Reid
@dreid93
Sep 12 2014 18:32
Have you npm install -g grunt-cli?
To install grunt you need to
$ npm install -g grunt-cli
$ npm install grunt
grunt-cli is the command line interface to the local installation of grunt.
and -g is short for —global
which instead of installing it in your project, installs it gloabally, so it can be access from any project.
Take a quick read over this paragraph http://gruntjs.com/getting-started#how-the-cli-works
jdlive07
@jdlive07
Sep 12 2014 18:36
yeah i installed it and it worked
Dawson Reid
@dreid93
Sep 12 2014 18:37
Nice!
grunt serve is working?
And you can see the website open in your browser?
jdlive07
@jdlive07
Sep 12 2014 18:37
but when i type grunt serve it says fatal error unable to find grunt file
Dawson Reid
@dreid93
Sep 12 2014 18:43
You have to use the grunt command from a directory containing a file called Gruntfile.js or Gruntfile.coffee
So if you open a git command line you are going to want cd to your project directory and then run all your grunt commands from there.
jdlive07
@jdlive07
Sep 12 2014 18:47
when i search it i see a few gruntfiles
but in the command line window I'm not seeing any
Dawson Reid
@dreid93
Sep 12 2014 18:48
Search the project?
You should be able to see the directory you are in. You are going to want to cd c:\path\to\your\portfolio\project
Then ls to view the contents of the directory.
jdlive07
@jdlive07
Sep 12 2014 18:50
yeah I just don't know where the gruntfiles are
im looking for them
Dawson Reid
@dreid93
Sep 12 2014 18:51
The Gruntfile should be at the top level of your project.
The same place as your bower.json and package.json.
jdlive07
@jdlive07
Sep 12 2014 18:53
smh
Dawson Reid
@dreid93
Sep 12 2014 18:54
?
jdlive07
@jdlive07
Sep 12 2014 18:54
i'm not seeing it
like whenever i use the search to look for the file
Dawson Reid
@dreid93
Sep 12 2014 18:54
What do you mean by the search?
Where did you clone the project too.
?
jdlive07
@jdlive07
Sep 12 2014 18:55
C:\Users\Jade
Dawson Reid
@dreid93
Sep 12 2014 18:55
So there should be a dir called c:\Users\Jade\portfolio
jdlive07
@jdlive07
Sep 12 2014 18:56
nope
Dawson Reid
@dreid93
Sep 12 2014 18:56
Have you cloned the project with git?
jdlive07
@jdlive07
Sep 12 2014 18:56
i guess not
how do i do that?
Dawson Reid
@dreid93
Sep 12 2014 18:56
hahaha
Okay, so that’s our problem.
git clone https://github.com/jdlive07/portfolio.git
jdlive07
@jdlive07
Sep 12 2014 18:57
type that in?
Dawson Reid
@dreid93
Sep 12 2014 18:57
The link is from your github project’s main page.
Yup.
That will download your project from github.
jdlive07
@jdlive07
Sep 12 2014 18:58
ok
Dawson Reid
@dreid93
Sep 12 2014 18:58
Did that work for you?
And can you now see a dir called c:\Users\Jade\portfolio
?
jdlive07
@jdlive07
Sep 12 2014 18:59
lol yeah i see it
still got an error when i try to run grunt serve
cannot find module 'load-grunt-tasks'
warning: "serve" not found. Use --force to continue.
Aborted due to warnings.
jdlive07
@jdlive07
Sep 12 2014 19:13
so question....i was suppose to be installing grunt n stuff in the portfolio directory?
Dawson Reid
@dreid93
Sep 12 2014 19:13
Yup.
If you are in the portfolio directory run npm install
And it will install everything you need.
Actually, run npm install --dev to install the dev deps (which grunt is)
And also run bower install to install your client deps
jdlive07
@jdlive07
Sep 12 2014 19:20
everytime i run grunt serve
Dawson Reid
@dreid93
Sep 12 2014 19:20
?
jdlive07
@jdlive07
Sep 12 2014 19:21
it keeps giving me warnings and says use --force to continue
says aborted due to warnings
Dawson Reid
@dreid93
Sep 12 2014 19:24
Could you show me the message
And put it in code blocks so it more readable.
jdlive07
@jdlive07
Sep 12 2014 19:25
$ grunt serve
Loading "imagemin.js" tasks...ERROR
>> Error: Cannot find module 'imagemin-pngquant'

Running "serve" task

Running "clean:server" (clean) task

Running "wiredep:app" (wiredep) task

Running "wiredep:sass" (wiredep) task

Running "concurrent:server" (concurrent) task
    Warning: Loading "imagemin.js" tasks...ERROR
>> Error: Cannot find module 'imagemin-pngquant'

Running "compass:server" (compass) task
Warning: You need to have Ruby and Compass installed and in your system PATH for
 this task to work. More info: https://github.com/gruntjs/grunt-contrib-compass
Use --force to continue.

Aborted due to warnings. Use --force to continue.

    Aborted due to warnings.


Execution Time (2014-09-12 19:21:44 UTC)
wiredep:app        479ms  ■■■■ 9%
concurrent:server   5.1s  ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 91%
Total 5.6s
Dawson Reid
@dreid93
Sep 12 2014 19:26
Oh.
So yeah. You need to install ruby and compass.
jdlive07
@jdlive07
Sep 12 2014 19:34
ok
i'll do that when i get back I'm about to head out\
Dawson Reid
@dreid93
Sep 12 2014 19:38
Sounds good. Let me know how it goes man.
jdlive07
@jdlive07
Sep 12 2014 19:50
ok