{"repo":"amberframework/granite","free":true,"listed":false,"github":"https://github.com/amberframework/granite","clone":"git clone https://github.com/amberframework/granite.git","description":"ORM Model with Adapters for mysql, pg, sqlite in the Crystal Language.","language":"Crystal","stars":307,"topics":["crystal","orm-model","database","sql","kemal","amber","mysql","granite","orm"],"license":"MIT","category":"databases-storage","readme_excerpt":"Granite Amber is a web framework written in the Crystal language. This project is to provide an ORM in Crystal. Looking for maintainers Granite is looking for volunteers to take over maintainership of the repository, reviewing and merging pull requests, stewarding updates to follow along with Crystal language updates, etc. More information here Documentation Documentation Contributing 1. Fork it ( https://github.com/amberframework/granite/fork ) 2. Create your feature branch (git checkout -b my-new-feature) 3. Commit your changes (git commit -am 'Add some feature') 4. Push to the branch (git push origin my-new-feature) 5. Create a new Pull Request Running tests Granite uses Crystal's built in test framework. The tests can be run either within a dockerized testing environment or locally. The test suite depends on access to a PostgreSQL, MySQL, and SQLite database to ensure the adapters work as intended. Docker setup There is a self-contained testing environment provided via the docker-compose.yml file in this repository. We are testing against multiple databases so you have to specify which docker-compose file you would like to use. - You can find postgres versions at https://hub.docker.com/ /postgres/ - You can find mysql versions at https://hub.docker.com/ /mysql/ After you have docker installed do the following to run tests: Environment variable setup Option 1 Export .env with $ source ./export.sh or $ source .env . Option 2 Modify the .env file that docker-compose loads by","default_branch":null,"files":null,"tree":[],"storefront":"/r/amberframework","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/amberframework/granite/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}