OAuth 2 Provider built with Amber
Create a pg database called pineauth_development
and configure the
config/database.yml
to provide the credentials to access the table.
Then:
$ shards update
$ amber migrate up
To run the demo:
$ crystal build src/pineauth.cr
$ ./pineauth
This will start an instance of postgres, migrate the database, and launch the site at http://localhost:3000
$ docker-compose up -d
To view the logs:
$ docker-compose logs -f
Note: The Docker images are compatible with Heroku.
- Fork it ( https://github.com/c910335/pineauth/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
- c910335 Tatsujin Chin - creator, maintainer