Update README.md
This commit is contained in:
parent
4dd06a28ce
commit
eae6966dfd
@ -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.
|
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`.
|
1. run `npm install`
|
||||||
|
1. run `node index.js` in the directory of this project.
|
||||||
````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.
|
|
||||||
|
|
||||||
Go to [http://localhost:3001](http://localhost:3001) and you'll see the app running :).
|
Go to [http://localhost:3001](http://localhost:3001) and you'll see the app running :).
|
||||||
|
Reference in New Issue
Block a user