GithubHelp home page GithubHelp logo

anurag-hub / crystal-ann Goto Github PK

View Code? Open in Web Editor NEW

This project forked from crystal-community/crystal-ann

0.0 0.0 0.0 1.2 MB

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

Home Page: https://crystal-ann.com

License: MIT License

Crystal 42.33% CSS 56.42% JavaScript 0.86% TSQL 0.40%

crystal-ann's Introduction

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

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

crystal-ann's People

Contributors

c910335 avatar chocolateboy avatar faustinoaq avatar hugoabonizio avatar janczer avatar lex111 avatar paperpanks avatar pgoodbread avatar vaibhavsingh97 avatar veelenga avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.