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

28 lines
629 B
Markdown
Raw Normal View History

2016-08-03 13:57:09 +00:00
# Atlas
2016-02-27 21:53:11 +00:00
2017-07-09 04:19:48 +00:00
![](https://circleci.com/gh/jorilallo/atlas.svg?style=shield&circle-token=c0c4c2f39990e277385d5c1ae96169c409eb887a)
2017-04-24 03:12:53 +00:00
## Installation
1. Install dependencies with `yarn`
1. Register a Slack app at https://api.slack.com/apps
1. Copy the file `.env.sample` to `.env` and fill out the keys
2017-10-16 01:35:28 +00:00
1. Run DB migrations `yarn sequelize -- db:migrate`
1. Start the development server `yarn start`
2017-04-24 03:12:53 +00:00
## Migrations
2016-02-27 21:53:11 +00:00
Sequelize is used to create and run migrations, for example:
```
2017-10-16 01:35:28 +00:00
yarn sequelize migration:create
yarn sequelize db:migrate
2017-06-27 06:33:05 +00:00
```
Or to run migrations on test database:
```
2017-10-16 01:36:22 +00:00
yarn sequelize db:migrate --env test
```