A simplistic, command line focused pastebin.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
views
.gitignore
Gruntfile.js
LICENSE
README.md
bower.json
package.json
schema.sql
shard.lock
shard.yml

README.md

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.