chore: Bump ioredis for fixes

chore: Remove sequelize language from user-facing db migrations
This commit is contained in:
Tom Moor
2021-03-22 18:41:54 -07:00
parent bb5443452b
commit 9af9d3a008
4 changed files with 42 additions and 25 deletions

View File

@@ -44,10 +44,10 @@ For a manual self-hosted production installation these are the recommended steps
1. Using the [.env.sample](.env.sample) as a reference, set the required variables in your production environment. You can export the environment variables directly, or create a `.env` file and pass it to the docker image like so:
`docker run --env-file=.env outlinewiki/outline`
1. Setup the database with `yarn sequelize:migrate`. Production assumes an SSL connection to the database by default, if
Postgres is on the same machine and is not SSL you can migrate with `yarn sequelize:migrate --env=production-ssl-disabled`, for example:
1. Setup the database with `yarn db:migrate`. Production assumes an SSL connection to the database by default, if
Postgres is on the same machine and is not SSL you can migrate with `yarn db:migrate --env=production-ssl-disabled`, for example:
`docker run --rm outlinewiki/outline yarn sequelize:migrate`
`docker run --rm outlinewiki/outline yarn db:migrate`
1. Start the container:
`docker run outlinewiki/outline`
@@ -68,7 +68,7 @@ Alternatively a community member maintains a script to deploy Outline on Google
If you're running Outline with Docker you'll need to run migrations within the docker container after updating the image. The command will be something like:
```shell
docker run --rm outlinewiki/outline:latest yarn sequelize:migrate
docker run --rm outlinewiki/outline:latest yarn db:migrate
```
#### Git