Skip to content

ltran/middleman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Climate Test Coverage Issue Count

middleman

URL Shortener written in Crystal.

Installation

Optional:

$ curl -L https://raw.github.com/pine/crenv/master/install.sh | bash
$ echo 'export PATH="$HOME/.crenv/bin:$PATH"' >> ~/.bash_profile
$ echo 'eval "$(crenv init -)"' >> ~/.bash_profile
$ exec $SHELL -l
$ crenvn -v

Install Crystal Build

$ git clone https://github.com/pine/crystal-build.git ~/.crenv/plugins/crystal-build

Install Crystal by crenv

$ crenv install 0.19.0 # install Crystal
$ crenv global 0.19.0 # set global Crystal version
$ crenv rehash

$ crystal --version
Crystal 0.19.0 (2016-09-02)

$ shards --version
Shards 0.6.3 (2016-09-02)

Usage

Run without compiling

crystal ./src/middleman.cr

Compiling

crystal build ./src/middleman.cr
crystal build -d ./src/middleman.cr  # debug mode

Running Compiled Project

./middleman

Development

TODO: Write test.

Contributing

  1. Fork it ( https://github.com/ltran/middleman/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

  • [ltran] Louis Tran - creator, maintainer

About

URL Shortener written in Crystal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published