UPSTREAMED: outline with this patch integrated: https://github.com/outline/outline/pull/2659
__mocks__ | ||
.githooks/pre-commit | ||
flow-typed | ||
frontend | ||
public/fonts | ||
scripts | ||
server | ||
.babelrc | ||
.env.sample | ||
.eslintrc | ||
.flowconfig | ||
.gitignore | ||
.sequelizerc | ||
index.js | ||
init.js | ||
package.json | ||
Procfile | ||
README.md | ||
webpack.config.dev.js | ||
webpack.config.js | ||
webpack.config.prod.js | ||
yarn.lock |
Atlas
Installation
- Install dependencies with
yarn
- Register a Slack app at https://api.slack.com/apps
- Copy the file
.env.sample
to.env
and fill out the keys - Run DB migrations
yarn run sequelize -- db:migrate
- 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