test_app

Version, currently master branch1 version
  • master branchlatestOct 26, 2017

github.com/eliasjpr/params-test-app

No description declared in shard.yml.

0 stars
0 dependents
License: UNLICENSED

Installation

# Add this to your shard.yml
dependencies:
  test_app:
    github: eliasjpr/params-test-app
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.23.1
License
UNLICENSED
Author
Amber <amberframework.org>
Targets
  • amber from lib/amber/src/amber/cli.cr
  • test_app from src/test_app.cr

Dependencies

Runtime Dependencies

  • pg*github: will/crystal-pg
  • amber0.3.0github: amberframework/amber
  • granite_orm*github: amberframework/granite-orm
  • quartz_mailer*github: amberframework/quartz-mailer
  • jasper_helpers*github: amberframework/jasper-helpers

Development Dependencies

  • amber_spec*github: amberframework/amber-specdev

README

test_app

Your description here

Installation

Create a pg database called test_app_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/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