Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation on running the servers natively. #9

Open
mseddon opened this issue May 18, 2016 · 3 comments
Open

Add documentation on running the servers natively. #9

mseddon opened this issue May 18, 2016 · 3 comments

Comments

@mseddon
Copy link

mseddon commented May 18, 2016

Could you provide a set of instructions on installing this locally on a development machine without docker?

@emersonf
Copy link
Member

We'll try to get that documented in the README next week.

If you need to get started sooner, here's the short version. It assumes that all commands are path are run in the root of the repo.

  1. Get a Mongo instance and a Postgres instance up and running.
  2. Source the two SQL scripts in resources/rdbms/postgresql in Postgres.
  3. Source the SQL script resources/rdbms/common/oauth2-sample-data.sql in Postgres to create an OAuth 2.0 test client.
  4. Update the spring.data.mongodb and spring.datasource properties in authorization-server/src/main/resources/application.yml and ./resource-server/src/main/resources/application.yml to match the settings of your Mongo and Postgres instances.
  5. In one terminal, run ./gradlew authorization-server:bootRun to start the authorization server.
  6. In another terminal, run ./gradlew resource-server:bootRun to start the resource server.
  7. To stop the servers, press Ctrl-C in the terminals.

@mseddon
Copy link
Author

mseddon commented May 18, 2016

That's great, I'll give it a try, thanks!
There's no real rush, I can work with docker for now if these steps don't do it for me.

@luistduarte
Copy link
Contributor

It works running natively and i tested some requests with Postman, but i got one question..
It is possible to check when one data point is introduced if it was conforming with Json Schema definition?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants