blog
Version, currently master branch1 version
- master branchlatestAug 24, 2017
github.com/drujensen/blog
No description declared in shard.yml.
Installation
# Add this to your shard.yml
dependencies:
blog:
github: drujensen/blog
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
- no constraint declared
- License
- MIT
- Author
- drujensen
Dependencies
Runtime Dependencies
- mysql*github: crystal-lang/crystal-mysql
- kemalyst*github: kemalyst/kemalyst
- kemalyst-spec*github: kemalyst/kemalyst-spec
- kemalyst-model*github: kemalyst/kemalyst-model
Development Dependencies
README
Blog using Crystal and Kemalyst
This is a sample application that shows how to build a crud application. This also provides an example of securing specific pages and leveraging the session to maintain authorization.
Installation
Create a mysql database called blog and configure the config/database.yml
to provide the credentials to access the table.
Then:
shards update
kgen migrate up
Usage
To run the demo:
crystal build src/blog.cr
./blog
username: admin password: password
Docker and Docker Compose
This will start an instance of mysql, migrate the database, run the specs, and launch the site at http://localhost:3000
docker-compose up
Note: The Docker image is 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
- [drujensen] dru.jensen - 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
- Aug 24, 2017
- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/drujensen/blog
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 1