Posts tagged nodejs
Posts tagged nodejs
Here are my steps to installing NodeJs v6.12 on a fresh Ubuntu 10.04
sudo apt-get install git-core build-essential libssl-dev openssl pkg-config -y
wget http://nodejs.org/dist/v0.6.12/node-v0.6.12.tar.gz
tar -xzvf node-v0.6.12.tar.gz
cd node-v0.6.12/
./configure
make
sudo chown -R [user] /usr/local
make install
“Development as a Service”, it is free to get started and open-source. If you are constantly on the go or want to start learning NodeJs, Sproutcore, CoffeeScript, and other new javascript technologies, but don’t have the time to setup your system. Well you are out of excuses, with Cloud9IDE all you need to do is signup, clone a template and you are up and going.
Node runs great on windows, but the package manager is not quite ready yet, but don’t let that stop you from learning these new technologies.
Watch this quick presentation, no how painlessly simple it is to signup, clone a template and run a development environment.
Then you can deploy straight from Cloud9 as well. You don’t have to worry how to configure your system with:
etc.
npm install cupcake -g
cupcake my_awesome_app
https://github.com/twilson63/cupcake
'+:`
'',;;`
, .:`
:;
;.
:;;'';,````
.;+++;;;,`.,,,,.
`,:;''++',:;';'';;,
`.::;;;:,:;''''''''',
`,:;'';;;;'''++''+''''',
.:';;''''++''+:,:;'''''';`
.;;';;;'++''';::::;''+++'':
`;;''';;:::::::::;;'+++++'';
:;'''''';:::;;''''+++++++'';`
`.:.;;'''''''+++++++#+++++++++';.
````;;';,,;;''+++++##++++++###+++++'';,
.,,,.....;;:;:;'''+++++##++++#++++++++''';:
`````..`... ;:''++++#+#++#+++++'++++++'';:
````...... :;'''++++#+#++##'+;'+++++''';:
` ` .;''''++++#+++++';''++++'''';:
```` ````'',;++++++++++'+''++++'''''':.``
`. `....,:;.` ```.++'+++++'+':..,;+'+'':;..````
` ..:;:;:... ````.+'''';,..`````````....````` `
.,,..`..` ````,,....``````````````````````
,....` ````` ``` ```````` ` ` `
`.` `` ` `` `
`` ` `
`..`` ``
` ` ` `
.. ` `` `` ``
:` ` `..`` ` ` ````` `... ``.
`..`` .`........ ` ``` ` ``` ``,. ```..
..`.` ` `...```..... ``````` `` `` ` .`,. ```.
,,.., `,:::,...,,.` ...```` ` ,`,. ` `.
:..;` ` .` ``.,,.`` ```` `` ` .,,.`
.., ` `,, `:;` ``` `..`,
::` ::`. ``` ` ```` ::
`.:: ::`. `````` ` `` ,.
` ` ` `;:`` `:,``` ````` ` ` .`` ` `.,
.` `` ,,.` ` `::,`` `````` ` `` `` .,
`` ` ```.`` ` ,::`` ` ` ``````` ` ` ` ` :.
`., `` ````:,.`. ` `````````` ` `` `` .;`
,, `.. `````` ``,,..` ` ```` ````````` `` ` `` ```
`::, ``` ````` `...``` .,` `````````````` ,;, `` ` ` ```
`:::` ```````` `..```` ... ``````````````````.,:: `` ` ``` .
.`::: ` ` `````````` ``````` ... `````````````````` `..,:,` ``` `` ``` ...
, `,::` ` ``````````` ``.```````` ``,,. ``````````````````` ...,::.`` `` `` ...,`
` `,: ` ` ```````````` `...````````` ````,,,` ``````````````````` ` `..`.,::,`` ` ``` `` `,,,,
`. ;`,` `` `` ```````````````` `......```.``````.,:,`````````````````` `..`.;;:` ` `` ` ``` ` `.
..` `` ````` ````````````````` ``......`...``....:,,```..``````````` ``.:` ` ``` ``` ```
` ``````````````````` `...............::,.`````.`````` ` ``` ` `` ```
` ```````````````````.` ``.,...........,,````..````````` ````` ` `` ``` ``
` ````````````````..``..``````........```````...````````` ```````` ``` ``` `
` `` ` ` ``````````````:,.``.........`.............`````````` ````` `` ``` ``` ``
` `` ```````````,::. `````````.`.......,...````````` ` `````` `` ``` ``` ```
` ` ` `. ```` ````````.:;;,````````````````......`````````` `````````` ```` `` ````
` ` ,,, ` ` ` `````.,:;:,``````````````````.`````` ``` ` ``````````` ```` `````` `` `
;.`` ` ` .,,. `````` `..,:;::``````````````````````` ` ``````````` ```` ````````` ` :
;:,,,,. ` `` ``,,,,` `````` ````.,:;.````````````````````` ```````````` ````` `````````````+'`
'..,,,,,. ` ``` `.,,,,` `````` ````.,...````````````````` ````````````` `````` ````````````++#`
; `.,,,,,.`` ```` `.,,,,` ```````` ``.,.``````````` ` ` `````````````` `````` `````````` ;++++
'; `.,.,.``` ````` `.,:`.` `` ..` ```` ``` ``````````````` `````` ```````` ```+'##+`
'# `.,`` ` `````` ``.`.`` ` ``` ``..```` ` ` ````````````````` `````` ````` `` `;+++++
:'+ `. `` ```````` `` ``` `` ```````````````````` ``````` ````````````'++++++
:#' `` `````````` `````````````````````` ``````` ````````` `,'++'+''.
,+'. ```````````...``` `````````````````````````` ``````` ```````` .##'+++''
:'' `````````..`....```` ````````````````````````````` ` ``````` `````````` `'++#++'+'
;'' ````````````.``.`.....``` ````````````````````` ```````````` ```````` `````````` ,++''#:,`;
:# ````````````.....`....``````````````````.`...`......``````````...,:::::,,..` ```````` ``````````` ;'+++ ``
''` ``...`..````````................``....``````````````````````.,::::::::,:,` ```````````````````````.++++'' ```
`' ```````````` ``````,. `````````````````````````.,,,:,,,,,...` ```````````````````` `` `+++++++++;:`
+'` `..` ```````````````````.''.```.``````````````````````...........,` ```.````..``````````` ``` `+#++++'#+'+
:+,` `...` ` `````````````````````````;';.```````````````````````````..,,,,,,,,.`` ``.`````.``````` ````` ` `'#+'+#++'''+
++ `.,... ```````````````````````````,''..`````````````````````````````.....```` ``...```..````````,,` `` ` `+++++#''+'+'`
`,'#` `,,,..` ````````````````````````` ;',..````````````` ````````` ``````` ``...```.`````````.,,` ``` ``++'+++++''+''
`''+ ` ``.... `` ```````````````````````.;;.`````````````````` `` ````` ````.````.``````` `,,,,` `` ```++''+##''''#
`';'+'`` `.,,` `````````````````````:'..`` `````````````` `` ```.````.``````.,,,,,,,``` ``` ##+#+#+''+;+`
..,;+'``` `.,` ``````````````````````;'.` ``` ``` ```.````.``.`````,:,,,,.```` ``,##+####+++'`
`.;`:#+```` ``.` ````` ````````````;'`` ````````.```````````:,,`````` ``,+##+####'+;;
.,,..+':``` ` ````` ``;;` ` `````````.`.```````````,,.````` ```:##+#++++#;:'
..,,.:+''```` ` ` `:.` ` ```````````...````````` ```````` ``,'#++'+#+;':
..,...:'''.```` ..` ```````````...````````` ````` ```,+##+##'#+':.
.,.,,,..;+'+..``` `` `` ``````````.````...````` ```````` `.``'+#++#+++#;,,.
`.,,.,..+##'#+: `..````` `````..`````````````...```` ``````` ,.`::#+++++'''':....
#.,...,+##+++++. ```.......```````` ```````````.``.`.`````````````````...`` ```````` ``.`,+,+##+#'';';:..;;,`
,.,.,.:'+#'+++#+',````````.........,.`......`..``......```````````````````....`` ````````````````:+.+#'+##'+'#';..#:;:`
,,.'#,,,''+#++###++;,```````````````..:;:,`..,,:''#;:.`....``..`````````...```` ```````````````...:+++#+##+#++';:,,:.,','``
.,,:`',,,,,+::,'';+;:+;+','..',`,,;''';';++###'###@#++':###'':;:,,,.......`````````````````.,;#+#+#++++#'++++;;..,..,...,..
,.:;.,.,,..;......#...;'+;###########@#'######++###+++++#@'@#+++::,,.,.....````````````,;;#++##+'++'++'+;++;;:,.,...,..,,.`
`';;..:...........+,,.,,'+++#+''##+#####++#@##++#######+##+#++'#'';:.........,.,..;+;,###+#+''+;'''+;':'';,............;,,`
`..,',,,.........,#,.,,,:@##+++##+++++##++###+'#++#++#@@###+##'#+#+#+++#''';;++'+##+'####+'++'##'+++';';,.....`.......,::.
`..,.,.,,.,.,,,.,,+,,,,,;;#######+''###++##+@'+'+''++++#######@#+#+''+#+#++++#++:#++#+##+++##;+'+'+;##+.,...............,`
,..,,..,..,.,..,,,,,,,,;,'#########'+++'##+#++#+####';+++###+#+##++'#+#####+####+###'+;'+#+#';,,,,+;;',,................
,..,,.,,.,.,,...,,,,,,,::;;'+++';,..,.#.::;''++++#####++##++###+#'+#######'##+#'++#''#'++''.....,,#;,.,,................
,,..,.....,,,'.,,,,,,,::,:::.,.',`,...+.,,,:,''+;##+++#+#++++###+#'+##+++'''+'''+''';,,..........,':,,.+,'``...........`
.,,,..,......#.,,;+;:,:::,.....:......+.,..:::;:+###+###++';:;::;+'+;:::;;'#+###+,,,,,,........,,,:,.,#...`............
`.,,,..,....+:,,,#,,,,,:,,.................,:,;,,:#####+',,':,,,..,;..,,,,#.,'#++,,,,,.........,,,,..,;..:............`
,.,,..,,.,;#',,,#,,,.,:,,,................:::;,,,,+##',..;;,,,,..,,,.,,,,@.,,:,',,,,,........,,,,,...:..+`..``.......
...,,,.,..#.;,..'+@:.,:,,,................,::,,,,,:+.....',,,,,..,,,.,,,,'.,,,,,,,,,,.......,,,,,....+;'..`..........
...,,..,.:+++;,.,,.@.,:,,,................,,,:,,,::+,,...,,,,,...,,,,,,,,,,,:,,,,,,,,........,,,,...,`.`..`.........`
`..,,..,....+,..'.,+,,,,:.................,::::::,,',...,,,,,,,..,.,,,,,,,,:,,,,.,,.........,,,,,.,,,..```..........`
,..,..,.....,...:;.,.,,:.................:::,,:,,,:,....,,,,,,..,,,,,,,,,,::,,,,,,,,......,,,,..,,,...``...`.......
...,..,...........,..,,,.................:,',,;,,,,.......,,,,..,,...,,,,,:,,,,#,,,........,,..,,.,.`..````.`.....`
....,,..,........,,..,,,...............,.:#,;:#,,:........,,,,....,,,,,::::,.,:,,,,........,,,,,,.,...````.`......
`......,........,,,..,,,................,,;.:+,+:,,......,.,,,..,..,,,,,,:,.,':,,.,.......,,,,,,,.,.`..`..........
`......,..,,....,,,,.,,..................::#:+:+,,,......,.,,,.,...,,,::,,,.:,:::.,.......,,,,,,.,....``.```.....`
`......,,..,.......,.,,.`................:,:'+,'...........,,,..,,,,,,,,,,...:,:,,,......,,,,,.,.,...``..........
.......,............,,,.................::::;,',.,......,,,....,,,,,,,,,,..:',;,,,.....,,,.....,,......`........
.........,,.........,,,................,:::::#;.........,,,.,.,,,,,,,,,,,.,.;',,,,......,,.....,....``..........
`.....,...,.........,,,,`...............::::,,,,.,......,,,.,,,,,,,,:,,,,.+;.,,.,,......,....,.,...`............
...,.,.............,,,,................,::,,,,,,.......,,,.,.,,,.,,,,,,,.:..,,,,......,,......,..`.`..`........
....,.,............,,,,.`..............,::,,,,,,..`..,..,,.,.,,,,,,,,,,,....,,,,......,,,.....,...````.........
......,............,,,.,...............,:,,,,,,.........,,..,,,,.,,,,,,,...,,,,,......,,,.....,.`.`.`.........`
`.....,..........,.,,,,................,:,,,,,,.......,..,,..,,.,,,,,,,,...,,,,,......,,,.....,....``.........
.....,.,.........,,,,,.........,......,,,,,,,,.........,,,.,,,,.,,,,,,,...,,,.,......,,..,.....`.`.``........
.......,...........,,,.........,......,,,,,,,,.,........,..,.,,,,,,,,,,...,,,,.......,,,.,.........`.`......`
....,..............,,,,.........,......,,,,,,,.,........,..,,,,,,,,,,,,.,.,,,,.........,...........`........
`.....,,...........,,,.,...............,,,,,,,........,.,,.,,,.,,,,,,,,,..,,,.,.......,.....,.....`.........
`.....,,,,.........,,,.,.,........,....,,,,,,.......,....,.,,,,,.,,,,,,.,,,,....`.....,,....,.`.....`.....,.
`......,...........,,,.................,,,,,,.........,..,.,..,,,,,,,,,.,,,,,,..`.....,,....,.`.............
......,,,.,.......,,,...,.............,,,,,...........,.,.,,,.,,,,,,,..,.,,....`.....,,....,`..............
,......,,,,.......,,,,................,,,.,..........,,.,,.,,...,,,,,..,,,.,........,,,,...,``............`
,......,,,,.......,,,..,:.............,,..,,.,........,.,.,.....,,,,,..,,,,.................`.............
.,......,,,.,.....,,.................,,,.,,,,.........,.....,.....,,,..,,,.,........,,......`............,
.......,,,,........,.................,,,.,,,,........,....,......,,,,,.,,,.,,........,,.....``..........,.
`.......,,,........,.................,,,,,,,,...............,,,..,,,,.,,,,..,.......,.......`...........,
.......,...,..,...,.................,,,,,,,,.........,`..........,,,,,,.,.........,.,.....``............
.......,,,..,.,...,...............`..,,,,,.............`..........,,.,,,,.,......,.,,,..................
.......,,...,.,,..,..................,,,,,.............`..........,,,,.,,........,,,.....,..............
`......,......,,..,................`.,,,,,............``..,....,.,,.,,.,..,......,,,..`..............,.`
...............,.,.................,,,,,.......,.....``..,.,,..,,,,...,..,.....,,....`..........,,...,
`................,..................,,,,.,.......`...``.,,,.,,.,,,,...,..,.....,,,....`,..............
.......,........,..................,,,,.............`....,,,,.,,.....,..,.....,,,.....,.............
`..............,,,.................,.,..,...........`.....,,.,..,...,,.......,,,,.....,..........,..
.....,......,..,,,................,....,...........`..,,.,,,,,,....,........,..,....,,........,...
....,......,.,,,.................,....,...............,,,.,,.,...,,,.......,,......,...........,`
`,`,,.......,,,,.....................,..............,,,,..,,...,,.,......,,,...,.,,..........,.
.,,......,,.,,.....................,.......`..`...,,,,.,,,..,,,...,.....,,,,.,..,..........`
...,......,,,.,.........,........,,,.`...........,,:,,.,...,:..,,.......,,...,.,.........`
`.........,,,,..,...............,,,........,.....,,,,,.,..,:,....,...,.,,,...,.,.........
`.........,...,................,.,,.......,...`.,,,,.,,.,,,,,..,,.....,,.....,,........`
...,,...,....................,,,,,,.,.........,,..,,,.,,,,..,,......,,,.....,.......
`...:..,....................,,,,.,...........,,..,,..,,,..,.,,.....,,.............
...........................,,,.,.,..,......,.,,....,,,.,..,......,.,.....,....
`.,......................,,,,,.....,.....,.,,,,...,.,.,,.,.....,,..........
`......................,,,,.,,.`.......,,,.,,,,,,,,,.......,.,,.,,....
....................,,,,....`......,,,.,,,,,,.,.,.,,....,.,,,,,.,`
`.......,..........,,,,....`......,,,,,,,,,,,,,,,.,....,.,,,.,.
`...............,,,,......,.....,,,,:,,,,,,,,,.,,....,,,,,`
`..............,,......,.....,,,,,,,,,,.,,,,,,..,,..`
`..........,.,,,,,..,...`,,,,,,,,,..,.,,,,.
``.......,,,......,,,.,,..,,..,..`
```...` ` `..,..`
Express is a sinatra style framework for creating nodejs applications, coffeescript is a great way to write javascript. There is nothing special about this template other than it saves a lot of work if you want to create a nodejs app using express and coffee. I also included the mongodb driver, nodeunit, and socket-io.
If you want to check out nodejs, coffeescript, haml, and sass, you can use this template to get you started.
Check it out!
Since getting access to the nodejs private beta on heroku, I did the hello world app and it worked with no problems.
I wanted to something a little more complicated, not much, but something to help me get more familiar with nodejs and the deployment platform on heroku.
This little app, takes the first word of the url and uses it to query twitter search and gets a result set of json, then displays the results in the browser. (Nothing Fancy.)
http://jackhq-node-hw.heroku.com/nodejs
This link will get last 20 tweets about nodejs
http://jackhq-node-hw.heroku.com/coffeescript
Working with coffeescript is just simply an awesome experience, and deploying to heroku is awesome. I will work on more complicated examples when I have more time.
for creating an experience that is solid and user friendly for the nodejs platform.
Check out
To see project NodeJs has to offer: