microblog
Version, currently master branch1 version
- master branchlatestJan 22, 2018
github.com/ChangJoo-Park/amber-microblog
Microblog example using Amber Framework
Installation
# Add this to your shard.yml
dependencies:
microblog:
github: ChangJoo-Park/amber-microblog
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.24.1- License
- UNLICENSED
- Author
- ChangJoo Park
- Target
microblogfrom src/microblog.cr
Dependencies
Runtime Dependencies
- amber0.6.4github: amberframework/amber
- sqlite3~> 0.9.0github: crystal-lang/crystal-sqlite3
- granite_orm~> 0.8.2github: amberframework/granite-orm
- quartz_mailer~> 0.4.0github: amberframework/quartz-mailer
- jasper_helpers~> 0.1.6github: amberframework/jasper-helpers
Development Dependencies
- faker*github: askn/fakerdev
- garnet_spec~> 0.1.1github: amberframework/garnet-specdev
README
microblog
microblog is a new project using Amber Framework
Installation
Install shard dependencies.
shards install
Configure the config/environments/development.yml and set the database_url with your credentials to your database.
Then:
amber db create migrate
Usage
Development
To run amber development server:
amber watch
Production
To setup AMBER_ENV:
export AMBER_ENV=production
To build a production release:
shards build --production --release microblog
To build production assets:
npm run release
To use encrypted environment settings see documentation
Docker Compose
This will start an instance of mysql, 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-user/microblog/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-user ChangJoo Park - 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
- Jan 22, 2018
- Crystal
0.24.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/ChangJoo-Park/amber-microblog
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 1