Finally building Yeoman !

I tried to build web pages using MEAN stacks on AWS but it took about months to finish. But finally, I succeeded in doing it today. This was a long way.

At first, I tried to do it by using mean.io, mean.js but there were many erros.
Sometimes reference error happend and I thought that these might be due to nvm because libraries were installed to diffrent directories if we use nvm so I uninstall nvm and use N. But still not work like
  No gulpfile found
So I quit using mean.io, mean.js
(At this time, I didn't understand mechanism of like gulp)

Then I happend to find Yeoman at this page and this instruction are good to understand for me so I tried it.
Yeoman consists of 3 parts
1. Bower
2. Yo
3. Grunt

$ npm install -g bower
$ bower -v
$ bower init
->bower.json was produced
view raw 1. bower hosted with ❤ by GitHub
$ npm install -g yo
$ npm install -g generator-AngularJS //I couldn't install AngularJS using yo, so use npm directly
$ yo
->select 'Run the Angular generator'
->after finishe, we should do some changes* at package.json/bower.json/Gruntfile.js
$ npm install grunt-karma --save-dev
$ npm install
$ bower install
view raw 2. yo hosted with ❤ by GitHub
before run the server, chage Gruntfile.js
// The actual grunt server settings
// hostname: 'localhost',
hostname: '0.0.0.0',
$ grunt serve
view raw 3. Grunt hosted with ❤ by GitHub
*Reference page.
then access AWS url plus :9000 and find Yeoman page !

Comments

Popular posts from this blog

Pops

Our new family !

Sakai, Osaka

Earthquake happend in Japan