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
*Reference page.
then access AWS url plus :9000 and find Yeoman page !
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ npm install -g bower | |
$ bower -v | |
$ bower init | |
->bower.json was produced |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
before run the server, chage Gruntfile.js | |
// The actual grunt server settings | |
// hostname: 'localhost', | |
hostname: '0.0.0.0', | |
$ grunt serve |
then access AWS url plus :9000 and find Yeoman page !
Comments