This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
outline/README.md
2017-11-19 01:16:02 -08:00

1.4 KiB

Outline

Join the community on Spectrum

An open, extensible, knowledge base for your team built using React and Node.js. Try Outline out using our hosted version at www.getoutline.com or read on to learn about installing on your own infrastructure.

Installation

Outline requires following dependencies to work:

  • Postgres >=9.5
  • Redis
  • S3 bucket configured to support CORS uploads
  • Slack developer application

To install and run the application:

  1. Install dependencies with yarn
  2. Register a Slack app at https://api.slack.com/apps
  3. Copy the file .env.sample to .env and fill out the keys
  4. Run DB migrations yarn sequelize db:migrate

To run Outline in development mode with server and frontend code reloading:

yarn dev

To run Outline in production mode:

yarn start

Development

Server

To enable debugging statements, set the following env vars:

DEBUG=sql,cache,presenters

Migrations

Sequelize is used to create and run migrations, for example:

yarn sequelize migration:create
yarn sequelize db:migrate

Or to run migrations on test database:

yarn sequelize db:migrate --env test

License

Outline is BSD licensed.