Tuesday, 26 July 2011

How to add your own files to nodester repo Easy step by step procedure


Step 1
git init
git add .
git commit -m 'initial commit'

Step 2

nodester app create <appname> app.js

Step 3
nodester app info <appname>
nodester info Gathering information about: <appname>
nodester warn express_example on port 9451 running: false (pid: unknown)
nodester info gitrepo: ec2-user@nodester.com:/node/hosted_apps/shapeshed/1298-ec0117a54b696d7a9781c79e5283692e.git
nodester info appfile: app.js

Step 4
To publish the site we need to add the git repo as a remote our git repo

git remote add nodester ec2-user@nodester.com:/node/hosted_apps/shapeshed/1298-ec0117a54b696d7a9781c79e5283692e.git

Step 5
And finally we can publish the site by pushing
git push nodester master

You're done! enjoy nodester coding 


No comments:

Post a Comment