mamantoha / shards-info

Source code of https://shards.info/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shards.info

Built with Crystal Crystal CI ESLint Stylelint

View of all repositories on Github and Gitlab that have Crystal code in them.

SWUbanner

Installation

  • Install Crystal
  • Clone this repository
  • Install dependencies shards install
  • Rename .env.example to .env, and set variables.
  • Run Web server as crystal src/web.cr

Development

psql -c 'CREATE DATABASE shards_info_development;' -U postgres
crystal src/cli.cr migrate

Frontend

Install depencencies:

npm install

After modifications run npm run build

Specs

Prepare a database:

crystal spec/initdb.cr

Run specs:

KEMAL_ENV=test crystal spec

Special thanks

Contributing

  1. Fork it (https://github.com/mamantoha/shards-info/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

  • mamantoha Anton Maminov - creator, maintainer

About

Source code of https://shards.info/

License:MIT License


Languages

Language:Crystal 75.0%Language:JavaScript 11.6%Language:SCSS 10.7%Language:CSS 1.7%Language:HTML 1.0%