• Stars
    star
    45
  • Rank 624,037 (Top 13 %)
  • Language
    CSS
  • License
    MIT License
  • Created over 7 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Web site to announce new Crystal projects, blog posts, updates and other work activities

Crystal [ANN]

Build Status GitHub release Amber Framework Gitter Twitter Follow

Source code for https://crystal-ann.com.

Setup

  1. Install Crystal
  2. Install Amber Framework
  3. Install Postgres
  4. Create crystal_ann and crystal_ann_test pg databases

Development

  1. Install project dependencies:
$ shards install
  1. Run database migrations:
$ amber db migrate
  1. Seed data:
$ amber db seed
  1. Start app and watch for source changes:
$ amber w

Testing

Migrate test database and run specs:

$ MICRATE_RUN_UP=true crystal spec

Docker

Run the app using docker-compose

docker-compose up

Deployment to Heroku

$ heroku create app-name --buildpack https://github.com/crystal-lang/heroku-buildpack-crystal.git
$ heroku buildpacks:add https://github.com/veelenga/heroku-buildpack-sidekiq.cr
$ git push heroku master

And set environment variables with heroku config:set VAR=VAL:

AMBER_ENV
AMBER_SESSION_SECRET

MICRATE_RUN_UP
REDIS_PROVIDER

GITHUB_ID
GITHUB_SECRET

TWITTER_CONSUMER_KEY
TWITTER_CONSUMER_SECRET
TWITTER_ACCESS_TOKEN
TWITTER_ACCESS_TOKEN_SECRET

TWITTER_OAUTH_CONSUMER_KEY
TWITTER_OAUTH_CONSUMER_SECRET

Contributors

More Repositories

1

icr

Interactive console for Crystal programming language
Crystal
502
star
2

crystal-patterns

πŸ“– Examples of GOF patterns written in Crystal
Crystal
294
star
3

jwt

JWT implementation in Crystal
Crystal
205
star
4

crystal-libraries-needed

A list of libraries that are needed or wanted for the Crystal-Language
141
star
5

msgpack-crystal

MessagePack implementation in Crystal msgpack.org[Crystal]
Crystal
136
star
6

cossack

Simple and flexible HTTP client for Crystal with middleware and test support.
Crystal
106
star
7

hardware

Get CPU, Memory and Network informations of the running OS and its processes
Crystal
72
star
8

kiwi

A unified Crystal interface for key-value stores.
Crystal
64
star
9

toml.cr

TOML parser for Crystal
Crystal
60
star
10

zeromq-crystal

Crystal
48
star
11

leveldb

Crystal binding for LevelDB
Crystal
39
star
12

future.cr

Crystal
34
star
13

bloom_filter

Bloom filter implementation in Crystal lang
Crystal
34
star
14

timecop.cr

A testing library that allows "time travel," "freezing time," and "time acceleration". Inspired by the ruby-timecop library.
Crystal
19
star
15

crystal-kcov

Crystal
17
star
16

autolink.cr

πŸ”— Auto link for Crystal
Crystal
16
star
17

crystal-notifications

A library for notifications, this started as a port from ActiveSupport::Notifications
Crystal
16
star
18

bluetooth

Bluetooth Bluez binding in Crystal
Crystal
10
star
19

cr-config

An all-in-one configuration library to handle any possible configuration need
Crystal
10
star
20

community

The crystal community
10
star
21

snappy-crystal

Snappy bindings for Crystal
Crystal
6
star
22

cr-i18n

Crystal
3
star
23

kilt-components

Crystal
2
star