Update README.md

This commit is contained in:
Annyv2 2015-11-23 20:00:28 -04:30
parent 4dd06a28ce
commit eae6966dfd

View File

@ -6,15 +6,7 @@ This is the seed project you need to use if you're going to create a Socket.io s
In order to run the example, you need to have `node` installed.
You also need to set the ClientSecret, ClientId and Domain for your Auth0 app as variables with the following names respectively: `AUTH0_CLIENT_SECRET`, `AUTH0_CLIENT_ID` and `AUTH0_DOMAIN`.
````bash
# auth0-variables.js file
AUTH0_CLIENT_SECRET=myCoolSecret
AUTH0_CLIENT_ID=myCoolClientId
AUTH0_DOMAIN=samples.auth0.com
````
1. run npm install
1. run node index.js in the directory of this project.
1. run `npm install`
1. run `node index.js` in the directory of this project.
Go to [http://localhost:3001](http://localhost:3001) and you'll see the app running :).