Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasz-zbrzeski authored and carpecodeum committed Feb 14, 2020
1 parent 9dd1e24 commit 67a3dd7
Showing 1 changed file with 1 addition and 57 deletions.
58 changes: 1 addition & 57 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,63 +212,7 @@ And use [localhost:3000](https://) to browse.
## Setting up an OAuth Daemon
## Step 1: Pre-requisite
### Technologies required
* **[Node.js](http://nodejs.org/)**
* **[Redis](http://redis.io/download)**
You should also install the `grunt-cli` npm package with the following command:
```sh
$ (sudo) npm install -g grunt-cli
```

## Step 2: Install OAuthD
You should install OAuthD from npm, by executing the following command:
```sh
$ (sudo) npm install -g oauthd
```

Then check the correctness of the OAuthD installation with the following command:
```sh
$ oauthd -v
```

## Step 3: Create an instance

Go into a folder where you want to create your oauthd instance and run the following command:
```sh
$ oauthd init
```

Follow the prompt instructions. It will guide you in the instance creation. You need to answer 'Y' or just press enter when the prompt ask you:
```sh
oauthd> Do you want to install default plugins? (Y|n)> (Y)
```

## Step 4: Run instance
To run the instance, just run the following command:
```sh
$ cd myinstance && oauthd start
```

You should see something like this in your shell:
```sh
Initializing plugins engine
Loading auth
Loading request
Loading slashme
Loading statistics
Loading front
oauthd start server
oauthd listening at http://0.0.0.0:6284 for http://localhost:6284
Server is ready (load time: 0.9s)
```

Then go to browser and type http://localhost:6284/

Learn more about the OAuthD [configuration](https://github.com/oauth-io/oauthd/wiki/Configuration) and the [command line features](https://github.com/oauth-io/oauthd/wiki/Command-Line-Interface).
[How to setup OAuth Daemon](OAuthdSetup.md)
# How to Contribute
Expand Down

0 comments on commit 67a3dd7

Please sign in to comment.