ad510 / packrat

Where we hoard all our data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Packrat Circle CI

Getting Started

Add the following environment variables to a file called .env:

  • GITHUB_ID - GitHub client id
  • GITHUB_SECRET - GitHub client secret

Launch Packrat:

docker-compose up

Deployment

Set the following environment variables, in addition to the above:

  • Database
    • DATABASE_ADAPTER (optional) - Database adapter to use. Default: postgresql
    • DATABASE_ENCODING (optional) - Encoding to use in database. Default: utf8
    • DATABASE_RECONNECT (optional) - Automatically reconnect to the database? Default: true
    • DATABASE_NAME - Name of database to connect to
    • DATABASE_POOL (optional) - Database connection pool size. Default: 5
    • DATABASE_USERNAME - Username to connect to database with
    • DATABASE_PASSWORD - Password to connect to database with
    • DATABASE_HOST - Host of database to connect to
    • DATABASE_PORT - Port of database to connect to
  • Web server
    • WEB_CONCURRENCY (optional) - Number of workers to run. Default: 2
    • MAX_THREADS (optional) - Maximum number of threads to use. Default: 5
    • RAILS_ENV (optional) - Environment to run the Rails server in. Default: development. Set to production if you want the app to run in production mode.
    • RAILS_SERVE_STATIC_FILES - Set to true if deploying with Docker image
    • PORT (optional) - Port to run server on. Default: 3000

License

This repository is distributed under the MIT license found in the LICENSE file.

About

Where we hoard all our data

License:MIT License


Languages

Language:Ruby 65.0%Language:HTML 30.5%Language:CSS 2.8%Language:JavaScript 0.9%Language:CoffeeScript 0.8%