crystal-blog
Version, currently master branch1 version
- master branchlatestMar 19, 2016
github.com/drujensen/blog-amethyst
Blog using Crystal and Amethyst
Installation
# Add this to your shard.yml
dependencies:
crystal-blog:
github: drujensen/blog-amethyst
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
Dependencies
Runtime Dependencies
README
DEPRECATED. Recommend using Kemal or Kemalyst
Example Blog using Crystal and Amethyst
A blog that is written in Crystal using Amethyst. This is a test to see how close to a RoR's app I can get using the current libs, frameworks, etc.
I tried to replicate the same file structure as a Rails App. There are some minor differences but it should be fairly simple to see how I did this.
Installation
This project requires Crystal 0.7.7 and either SQLite or a MySQL database. I am including both drivers in the dependencies.
git clone git@github.com:drujensen/crystal-blog.git
Next setup the database. The default is using SQLite so no setup is involved. If you decide to use MySQL, update the config/database.yml to match your settings and change the adapter in the models.
Install dependencies using crystal deps
Compile the code using crystal build blog.cr
Connect to the database and run crystal /db/migrate.cr to drop and create
the databases.
Usage
Run the blog using crystal run blog.cr and hitting http://localhost:8080
from your browser.
The default username and password is admin and password.
Development
There are several features that are still needed. I am trying to keep this very simple and RoR'ish as much as possible. Keep that in mind when contributing.
Roadmap
- Add Validation and Error Handling
- Add Comments with
has manylike syntax - Add Capistrano
- Add Grunt/Gulp for Asset Compilation
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
- Mar 19, 2016
- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/drujensen/blog-amethyst
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 1