diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-03-04 15:45:28 -0700 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-03-04 15:45:28 -0700 |
commit | f46bf58502782b8cef01ac326e6f7feef6b3e560 (patch) | |
tree | 8601f46560898f77a61306329411e62d4269c27a /installation.md | |
parent | cc7c5578918baa76e4efecce338d29f69a6824a9 (diff) | |
download | sr.ht-docs-f46bf58502782b8cef01ac326e6f7feef6b3e560.tar.gz |
Update alembic docs on installation.md
Diffstat (limited to 'installation.md')
-rw-r--r-- | installation.md | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/installation.md b/installation.md index 589611b..2cc1cc7 100644 --- a/installation.md +++ b/installation.md @@ -94,15 +94,11 @@ less privileged user. ## Schema Upgrades We use [alembic](http://alembic.zzzcomputing.com/en/latest/) to manage schema -migrations. A sample `alembic.ini` is provided (`alembic.ini.example` from -source and `/etc/sr.ht/alembic/subdomain.ini.example` from packages), which you -should modify to suit your needs - you will probably only need to set the -connection string. - -Run `alembic stamp head` once to tell alembic the schema is up-to-date. Future -upgrades will be managed automatically by the package, or if you're using the -source code you can run `alembic upgrade head` when you pull the latest version -down. +migrations. We source your alembic config from your main sr.ht `config.ini` - no +need to write an `alembic.ini` file. Run `alembic stamp head` once to tell +alembic the schema is up-to-date. Future upgrades will be managed automatically +by the package, or if you're using the source code you can run `alembic upgrade +head` when you pull the latest version down. ## Becoming admin |