Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Restored README.md. Corrected imports.
  • Loading branch information
igormironchik committed Nov 29, 2017
commit 466f16e2c40be82c1350765da02a06ca266173e1
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ After checking out the sources from this repository, you need to create a
[virtual environment](https://docs.python.org/3/tutorial/venv.html) and install the required packages:

```bash
python3 -m venv venv
venv/bin/pip install -r requirements.txt
virtualenv -p python3 venv
venv/bin/pip install -r requirements
```

Next, we need to create a database where mutations and the results are stored:
Expand Down
4 changes: 2 additions & 2 deletions db_migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import imp
from migrate.versioning import api
from app import db
from config import SQLALCHEMY_DATABASE_URI
from config import SQLALCHEMY_MIGRATE_REPO
from app.config import SQLALCHEMY_DATABASE_URI
from app.config import SQLALCHEMY_MIGRATE_REPO

if __name__ == '__main__':
v = api.db_version(SQLALCHEMY_DATABASE_URI, SQLALCHEMY_MIGRATE_REPO)
Expand Down
4 changes: 2 additions & 2 deletions db_upgrade.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# coding=utf-8

from migrate.versioning import api
from config import SQLALCHEMY_DATABASE_URI
from config import SQLALCHEMY_MIGRATE_REPO
from app.config import SQLALCHEMY_DATABASE_URI
from app.config import SQLALCHEMY_MIGRATE_REPO

if __name__ == '__main__':
api.upgrade(SQLALCHEMY_DATABASE_URI, SQLALCHEMY_MIGRATE_REPO)
Expand Down