koding setup

Post on 11-Aug-2015

257 Views

Category:

Education

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Let’s setup your workspace!!Go to https://koding.com/Enter email address and passwordClick “Sign Up” button

here

Pick your usernameClick “Let’s go”

Verify your email

Copy and paste the code from your email to koding.io

Your code

Click “Turn it on” button

Setup done !!!Make sure you can see1. Directories list on left panel2. Working area on top right panel3. Terminal area on bottom right panel

1

2

3

Create new “node” folder under root directory and “index.js” file inside “node” folder

1

2

3

4

Double click index.js file on left panel to open the fileType below syntax on index.js fileconsole.log(“my first javascript”);

Let’s run your first syntax on the terminal window 1. Type below command (after the $ sign) to check your current working directory pwd2. Press enter

The output is the directory where you are at now. On sample above, we’re at /home/<username> which is the root.

Now, let’s go to “node” folder where your “index.js” file is at and execute it.3. Type below command to go to “node” folder from root cd node

4. Type below command to execute index.jsnode index.js

top related