jhass / crpaste

A simplistic, command line focused pastebin.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

crpaste

A simplistic, command line focused pastebin.

Installation

# Build assets
gem install sass
npm install
bower install
BASE_URL="http://p.example.org" grunt

# Build backend
shards
crystal build --release src/crpaste.cr

# Prepare database
createdb crpaste
psql crpaste < schema.sql

# Run backend
# Default port: 8000 Change by setting PORT
# Default database: crpaste Change by setting DB
BASE_URL="http://p.example.org" ./crpaste

Usage

See usage.

About

A simplistic, command line focused pastebin.

License:MIT License


Languages

Language:Crystal 56.6%Language:JavaScript 19.0%Language:HTML 11.1%Language:SCSS 10.3%Language:Dockerfile 3.0%