Skip to content

Commit 466f16e

Browse files
committed
Restored README.md. Corrected imports.
1 parent bfb1d60 commit 466f16e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ After checking out the sources from this repository, you need to create a
3434
[virtual environment](https://docs.python.org/3/tutorial/venv.html) and install the required packages:
3535

3636
```bash
37-
python3 -m venv venv
38-
venv/bin/pip install -r requirements.txt
37+
virtualenv -p python3 venv
38+
venv/bin/pip install -r requirements
3939
```
4040

4141
Next, we need to create a database where mutations and the results are stored:

db_migrate.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import imp
44
from migrate.versioning import api
55
from app import db
6-
from config import SQLALCHEMY_DATABASE_URI
7-
from config import SQLALCHEMY_MIGRATE_REPO
6+
from app.config import SQLALCHEMY_DATABASE_URI
7+
from app.config import SQLALCHEMY_MIGRATE_REPO
88

99
if __name__ == '__main__':
1010
v = api.db_version(SQLALCHEMY_DATABASE_URI, SQLALCHEMY_MIGRATE_REPO)

db_upgrade.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# coding=utf-8
22

33
from migrate.versioning import api
4-
from config import SQLALCHEMY_DATABASE_URI
5-
from config import SQLALCHEMY_MIGRATE_REPO
4+
from app.config import SQLALCHEMY_DATABASE_URI
5+
from app.config import SQLALCHEMY_MIGRATE_REPO
66

77
if __name__ == '__main__':
88
api.upgrade(SQLALCHEMY_DATABASE_URI, SQLALCHEMY_MIGRATE_REPO)

0 commit comments

Comments
 (0)