everything I'm doing

  • Archive
  • RSS
  • Ask me anything

Nodejitsu awesomeness

Today I got my nodejitsu access, thanks to @jesusabdullah.
After following the steps in the E-mail I then got I couldnt activate my account or at least it said it was still invalid so I got onto @marak and he helped my with the activation and actually there was an S missing in the command it didnt complain that it was wrong either :-)

Anyway. For testing purpose I used my current project “nodeblog” to be deployed there and after creating a proper package.json and doing an “jitsu deploy” in the project folder, following the instructions, the project was deployed.

There is a lot more you can do with it and I will test it as much as I can and give feedback to the @nodejitsu guys.

Awesome work you are doing there. Keep up the good work!

http://nodejitsu.com

    • #nodejs
    • #nodejitsu
    • #jitsu
    • #deployment
    • #npm
    • #javascript
  • 1 year ago
  • 1
  • Comments
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

About Coffeecup and some templates

Last night I moved from Jade to CoffeeCup for templating engine because it just feels more comfortible for me at the moment because I do so much with nodeJS stuff at the moment and using it with coffeescript it was the best option to move onto a template engine that is basically just coffeescript.

I use html5boilerplate most of the time as a starting point and I also wanted a nodejs-express-template because I use express really often at the moment for some projects. html5boilerplate couldn’t be found so I converted it to coffeecup and builded a new nodejs express html5 template with that.

At the end of the night (beginning of the morning) I had a html5-boilerplate-coffeecup template and an nodejs-express-html5-template on github.

Have fun!

    • #nodejs
    • #boilerplate
    • #html5
    • #javascript
    • #nodejs
    • #coffeecup
    • #coffeescript
    • #express
    • #template
  • 1 year ago
  • Comments
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

My improved “Sublime Text 2” Setup

Because I got asked a few times now what Sublime Addons and Extras I use here is a screenshot of my current version and some information and links on addons, themes etc. All of the Plugins can be installed via Sublime Text 2 Package Control.

Theme:
* Soda Dark Theme

Color Schema:
* Monokai Soda 

Font:
* Meslo LG S DZ 

Plugins:
* Sublime Package Control
* Additional PHP Snippets
* Alignment
* BeautifyRuby
* BracketHighlighter
* Clipboard History
* CoffeeScript
* Display Functions (java)
* Gist
* Git
* HTML5
* Jade (install via Package Control couldn’t find link)
* jQuery
* JS Minifier
* Markdown Preview
* NodeJS
* Prefixr
* sidebar-git
* sublime-github
* sublime-jslint
* sublime-split-navigation
* CSS3 Please
* SublimeLinter
* Sublime Code Intel 

That’s about it. Enjoy and improve your Sublime.

    • #sublime
    • #github
    • #editor
    • #jquery
    • #javascript
    • #php
    • #coffeescript
    • #css
    • #python
    • #nodejs
    • #lint
  • 1 year ago
  • Comments
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Django with nodeJS and socket.io

I’ve build a small and yet work in progress, example of how to integrate socket.io to django with nodeJS to use django with websockets.
This example django project doesnt have any models or anything big in it.

You can find it in a git repository https://github.com/marvin/django_nodejs_socketio_example

Basicly I created a new django project and added no App to it. The first example is a small chat who doesnt actually integrate much from django but I will extend it soon.
All there is atm is a html5 Boilerplate based template with some divs, some css and javascript.
All the javascript and the nodeJS server is writte in coffee script. I’ve included the Coffeescript too so you can have a look into it.

First I’ve setup a small socket server. You need to have nodejs, npm and socket.io installed. 
What I did for Django:

  • changed some settings in the settings.py
  • setup basic urls in urls.py
  • added a view named index
  • created the required folders for public/media and templates
  • build a small index.html

The rest of the magic is in the script.js in public/media/js/script.js 

To get started clone the git repo and then in one terminal run “node server.js” and in another run “pyhton manage.py runserver 8080”

Open a browser of your choice and go to “http://localhost”

I haven’t tested it on IE as I don’t have windows and actually dont care about IE.

As soon as I improved this example and added some more examples I’ll let you know. Have fun

    • #django
    • #nodejs
    • #socket.io
    • #websocket
    • #coffeescript
    • #javascript
    • #git
    • #github
  • 1 year ago
  • Comments
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile
Effector Theme by Pixel Union