Shard Detail

test_app v0.1.0

Test Amber App

Install & Use

Add the following code to your project's shard.yml under:

dependencies to use in production
- OR -
development_dependencies to use in development


test_app:
  github: marksiemers/test_app

Readme

test_app

Your description here

Installation

Configure the config/environments/development.yml and set the database_url with your credentials to your database.

Then:

shards update
amber db create migrate

Usage

To run the demo:

$ shards build src/test_app.cr
./test_app

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