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-07-06 23:27:16 -07: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
flow-typed Flow for all the files 2017-05-11 17:23:56 -07:00
frontend Merge pull request #110 from jorilallo/queryperf 2017-07-06 23:22:16 -07:00
public/fonts Moved to using Atlas fontface 2016-03-11 00:27:57 -08:00
scripts Renamed /src to /frontend 2016-07-24 15:32:31 -07:00
server rm cross-env, fixed deployments 2017-07-06 23:27:16 -07:00
.babelrc Config and flow scripts 2017-05-03 22:49:08 -07:00
.env.sample Adding installation instructions 2017-04-23 20:12:53 -07:00
.eslintrc Refactored collections store and layout components 2017-05-29 18:04:26 -07:00
.flowconfig Added errors store with tests 2017-05-22 22:16:47 -07:00
.gitignore Cleaning deployment related stuff 2017-02-09 21:55:36 -08:00
.sequelizerc New database with migrations 2016-06-25 22:37:05 -07:00
index.js Moar 2017-07-06 20:59:45 -07:00
init.js rm cross-env, fixed deployments 2017-07-06 23:27:16 -07:00
package.json rm cross-env, fixed deployments 2017-07-06 23:27:16 -07:00
Procfile Heroic deploy settings 2016-05-22 22:22:14 -07:00
README.md Remove dodgy association 2017-06-26 23:33:05 -07:00
webpack.config.dev.js Fixed source maps 2017-05-17 19:49:30 -07:00
webpack.config.js remove ignore-loader 2017-07-06 23:27:16 -07:00
webpack.config.prod.js Fixed source maps 2017-05-17 19:49:30 -07:00
yarn.lock rm cross-env, fixed deployments 2017-07-06 23:27:16 -07:00

Atlas

Installation

  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 run sequelize -- db:migrate
  5. Start the development server yarn start

Migrations

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

yarn run sequelize migration:create
yarn run sequelize db:migrate

Or to run migrations on test database:

yarn run sequelize db:migrate -- --env test