From 54b36fc9bdc8464916ac1f74c6b03c587f2efb94 Mon Sep 17 00:00:00 2001 From: algard Date: Thu, 9 Feb 2012 02:02:27 +0000 Subject: [PATCH] initial commit --- README.md | 18 ++++++++++++++++++ server.js | 7 +++++++ 2 files changed, 25 insertions(+) create mode 100644 README.md create mode 100644 server.js diff --git a/README.md b/README.md new file mode 100644 index 0000000..c7e6d21 --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +# README for a newly created project. + +There are a couple of things you should do first, before you can use all of Git's power: + + * Add a remote to this project: in the Cloud9 IDE command line, you can execute the following commands + `git remote add [remote name] [remote url (eg. 'git@github.com:/ajaxorg/node_chat')]` [Enter] + * Create new files inside your project + * Add them to to Git by executing the following command + `git add [file1, file2, file3, ...]` [Enter] + * Create a commit which can be pushed to the remote you just added + `git commit -m 'added new files'` [Enter] + * Push the commit the remote + `git push [remote name] master` [Enter] + +That's it! If this doesn't work for you, please visit the excellent resources from [Github.com](http://help.github.com) and the [Pro Git](http://http://progit.org/book/) book. +If you can't find your answers there, feel free to ask us via Twitter (@cloud9ide), [mailing list](groups.google.com/group/cloud9-ide) or IRC (#cloud9ide on freenode). + +Happy coding! \ No newline at end of file diff --git a/server.js b/server.js new file mode 100644 index 0000000..797fc99 --- /dev/null +++ b/server.js @@ -0,0 +1,7 @@ +var http = require("http"); + +http.createServer(function(request, response) { + response.writeHead(200, {"Content-Type": "text/plain"}); + response.write("Hello World"); + response.end(); +}).listen(8888); \ No newline at end of file