jradd / blog_zero

Blog built from Amber of Crystal-lang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

blog_zero

Your description here

Installation

Create a pg database called blog_zero_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/blog_zero.cr
./blog_zero

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

  1. Fork it ( https://github.com/[your-github-name]/your_project/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

Contributors

About

Blog built from Amber of Crystal-lang


Languages

Language:Crystal 66.0%Language:JavaScript 18.0%Language:CSS 16.0%