UPSTREAMED: outline with this patch integrated: https://github.com/outline/outline/pull/2659
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.
Go to file
2017-12-26 15:07:27 +02:00
__mocks__ DocumentsStore WIP 2017-06-27 20:59:53 -07:00
.githooks/pre-commit Run flow on recommit 2017-05-11 17:24:47 -07:00
app Fixes #480 2017-12-18 22:55:14 -08:00
flow-typed Unfurling of Slack links (#487) 2017-12-18 19:59:29 -08:00
public Optimize PNG's 2017-11-15 21:16:15 -08:00
server Added adminOnly auth option and auth middleware tests 2017-12-26 15:07:27 +02:00
shared Added privacy policy 2017-12-17 17:14:16 -08:00
.babelrc Added styled-components table plugin 2017-07-11 22:00:50 -07:00
.env.sample Unfurling of Slack links (#487) 2017-12-18 19:59:29 -08:00
.eslintignore Lint rules and flow annotations for rest of the files 2017-11-15 23:40:14 -08:00
.eslintrc Unfurling of Slack links (#487) 2017-12-18 19:59:29 -08:00
.flowconfig Slate 30 2017-12-02 23:14:27 -08:00
.gitignore FakeS3 support 2017-12-10 22:58:52 -08:00
.sequelizerc rm localenv 2017-07-06 23:27:16 -07:00
CHANGELOG.md Add changelog 2017-11-28 22:46:26 -08:00
circle.yml added s3 envvars to circle 2017-12-14 22:56:35 -08:00
docker-compose.yml FakeS3 support 2017-12-10 22:58:52 -08:00
Dockerfile support local development with docker 2017-12-05 10:42:52 -08:00
index.js Address failing startup without .env #459 2017-12-01 16:40:17 -05:00
init.js Fixes #363 2017-10-30 21:45:37 -07:00
LICENSE Renamed Atlas to Outline 2017-11-09 00:20:22 -08:00
Makefile Fix first run with Docker 2017-12-11 21:16:37 -08:00
package.json Added adminOnly auth option and auth middleware tests 2017-12-26 15:07:27 +02:00
Procfile Heroic deploy settings 2016-05-22 22:22:14 -07:00
README.md Update sample .env 2017-12-10 17:38:56 -08:00
setupJest.js Updated email envvars based on feedback 2017-11-18 13:11:12 -08:00
webpack.config.dev.js Renamed Atlas to Outline 2017-11-09 00:20:22 -08:00
webpack.config.js Unfurling of Slack links (#487) 2017-12-18 19:59:29 -08:00
webpack.config.prod.js Added email templating, and user welcome email 2017-11-12 15:02:23 -08:00
yarn.lock Added adminOnly auth option and auth middleware tests 2017-12-26 15:07:27 +02:00

Outline

Join the community on Spectrum code style: prettier

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 the following dependencies:

  • Postgres >=9.5
  • Redis
  • Slack developer application

In development you can quickly can an environment running using Docker by following these steps:

  1. Install Docker for Desktop if you don't already have it.
  2. Register a Slack app at https://api.slack.com/apps
  3. Copy the file .env.sample to .env and fill out the Slack keys, everything else should work well for development.
  4. Run make up. This will download dependencies, build and launch a development version of Outline.

Development

Server

To enable debugging statements, add the following to your .env file:

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.