crystalshards

Version, currently master branch1 version
  • master branchlatestOct 27, 2016

github.com/dukex/crystalshards

No description declared in shard.yml.

2 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  crystalshards:
    github: dukex/crystalshards
    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
no constraint declared
License
MIT
Authors
Luis Ferreira, Fatih Kadir Akın, Duke

Dependencies

Runtime Dependencies

  • pg*github: will/crystal-pg
  • emoji0.1.0github: veelenga/emoji.cr
  • kemal*github: sdogruyol/kemal, branch: master
  • github*github: dukex/github
  • micrate*github: juanedi/micrate

Development Dependencies

  • spec-kemal*github: sdogruyol/spec-kemal, branch: masterdev

README

CrystalShards

This is a fork of f/crystalshards repository, which is a fork of zamith/crystalshards repository.

A shard is what we call a crystal library, and this is the website that lists them all.

Using Locally

To use a local copy, clone the repository. Then install necessary shards.

shards install

Setup the postgresql database.

export PG_URL=postgres://postgres@127.0.0.1:5432/crystalshards

Run the migrations

make migrate_up

Compile the frontend assets

make assets_compile

When you are finished, remember to restart your terminal or source your edited file.

crystal src/crystalshards.cr