pineauth
pineauth
OAuth 2 Provider built with Amber
Installation
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
Usage
To run the demo:
$ crystal build src/pineauth.cr
$ ./pineauth
Docker Compose
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.
Contributing
- 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
Contributors
- c910335 Tatsujin Chin - creator, maintainer
Repository
pineauth
Owner
Statistic
- 5
- 1
- 5
- 0
- 7
- over 6 years ago
- August 1, 2017
License
MIT License
Links
Synced at
Sat, 21 Dec 2024 18:43:32 GMT
Languages