crystal-nopaste

Version, currently master branch1 version
  • master branchlatestFeb 23, 2019

github.com/kozakana/crystal-nopaste

nopaste implemented in Crystal

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  crystal-nopaste:
    github: kozakana/crystal-nopaste
    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
0.25.1
License
MIT
Author
kozakana
Target
  • crystal-nopaste from src/crystal-nopaste.cr

Dependencies

Runtime Dependencies

  • kemal*github: sdogruyol/kemal, branch: master
  • sqlite3*github: crystal-lang/crystal-sqlite3

README

crystal-nopaste

nopaste implemented in Crystal

Settings

DB settings

cp config.json.sample config.json

app settings

keydetail
base_urlFill in base url

sqlite3 settings

keydetail
db.typeDataBase type(sqlite3)
db.urlDataBase file path

Installation

Create DB

crystal src/db/db_migration.cr

Usage

crystal build --release src/crystal-nopaste.cr
./src/crystal-nopaste.cr

Development

TODO: Write development instructions here

Contributing

  1. Fork it (https://github.com/kozakana/crystal-nopaste/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

  • kozakana kozakana - creator, maintainer