amber_crecto
Version, currently master branch1 version
- master branchlatestSep 21, 2017
github.com/fridgerator/amber_crecto_example
Amber example using crecto
0 stars
0 dependents
License: UNLICENSED
Installation
# Add this to your shard.yml
dependencies:
amber_crecto:
github: fridgerator/amber_crecto_example
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.23.1- License
- UNLICENSED
- Author
- Amber
- Targets
amberfrom lib/amber/src/amber/cli.cramber_crectofrom src/amber_crecto.cr
Dependencies
Runtime Dependencies
- pg*github: will/crystal-pg
- amber*github: amberframework/amber
- crecto*github: Crecto/crecto
- quartz-mailer*github: amberframework/quartz-mailer
- jasper_helpers*github: amberframework/jasper-helpers
Development Dependencies
- amber_spec*github: amberframework/amber-specdev
README
amber_crecto
Your description here
Installation
Create a pg database called amber_crecto_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:
$ shards build src/amber_crecto.cr
./amber_crecto
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/[your-github-name]/your_project/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
- your_github_name your_name - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Sep 21, 2017
- Crystal
0.23.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/fridgerator/amber_crecto_example
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 1