URL Shortener written in Crystal.
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)
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
TODO: Write test.
- Fork it ( https://github.com/ltran/middleman/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
- [ltran] Louis Tran - creator, maintainer