Skip to content

Commit c82e8d8

Browse files
committed
readme updated
1 parent 7a344ce commit c82e8d8

File tree

1 file changed

+33
-3
lines changed

1 file changed

+33
-3
lines changed

README.md

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,42 @@ Pre-requisites
99
This dialect requires SQLAlchemy, InterSystems DB-API driver. They are specified as requirements so ``pip``
1010
will install them if they are not already in place. To install, just:
1111

12-
pip install sqlalchemy-iris
12+
```shell
13+
pip install sqlalchemy-iris
14+
```
1315

1416
Usage
1517
---
1618

1719
In your Python app, you can connect to the database via:
1820

19-
from sqlalchemy import create_engine
20-
engine = create_engine("iris://_SYSTEM:SYS@localhost:1972/USER")
21+
```python
22+
from sqlalchemy import create_engine
23+
engine = create_engine("iris://_SYSTEM:SYS@localhost:1972/USER")
24+
```
25+
26+
InterSystems IRIS
27+
---
28+
29+
You can run your instance of InterSystems IRIS Community Edition with Docker
30+
31+
```shell
32+
docker run -d --name iris \
33+
-p 1972:1972 \
34+
-p 52773:52773 \
35+
intersystemsdc/iris-community:preview
36+
```
37+
38+
_Port 1972 is used for binary communication (this driver, xDBC and so on), and 52773 is for web (Management Portal, IRIS based web-applications and API's)._
39+
40+
The System Management Portal is available by URL: `http://localhost:52773/csp/sys/UtilHome.csp`
41+
42+
The default password - `SYS`, has to be changed after the first login to the management portal. Or start the container with a command that resets the change password flag
43+
44+
```shell
45+
docker run -d --name iris \
46+
-p 1972:1972 \
47+
-p 52773:52773 \
48+
intersystemsdc/iris-community:preview \
49+
-a "iris session iris -U%SYS '##class(Security.Users).UnExpireUserPasswords(\"*\")'"
50+
```

0 commit comments

Comments
 (0)