constable-crystal

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

github.com/paulcsmith/constable-crystal-workshop

A super basic and ugly version of Constable written in Lucky

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  constable-crystal:
    github: paulcsmith/constable-crystal-workshop
    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
MIT
Author
Paul Smith
Target
  • constable-crystal from src/constable-crystal.cr

Dependencies

Runtime Dependencies

README

Constable Crystal

A simple rewrite of Constable using Lucky framework

Installation

  • Clone this repo
  • If you’re on macOS you’ll need to install the Lucky CLI through brew https://github.com/luckyframework/web#installation. This should also install crystal and everything crystal needs, but if not see instructions here to install Crystal: https://crystal-lang.org/docs/installation/
  • If you’re on Linux you’ll need to build the Lucky CLI and add it to your path. I’m not exactly sure what that will entail, but it will be something like cloning the lucky CLI repo https://github.com/luckyframework/cli then running the commands here: https://github.com/luckyframework/homebrew-lucky/blob/master/generate.cr#L12-L16 and then putting the generated executable in your path. If you are on Linux and would like to update the README with installation instructions that would be great!
  • Run shards to install the dependencies

You will probably already have these, but you’ll also need:

  • Postgres
  • Yarn
  • Heroku CLI

Usage

Run lucky dev

Contributing

  1. Fork it ( https://github.com/paulcsmith/constable-crystal/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