You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
2
2
## Overview
3
-
Pyravendb-Embedded is a RavenDB package for running RavenDB in embedded mode.
3
+
ravendb-embedded is a RavenDB package for running RavenDB in embedded mode.
4
4
5
5
```python
6
-
from ravendb_embedded.embedded_server import EmbeddedServer
6
+
from ravendb_embedded.embedded_server import EmbeddedServer
7
7
8
8
EmbeddedServer().start_server()
9
9
with EmbeddedServer().get_document_store("Embedded") as store:
@@ -13,11 +13,11 @@ with EmbeddedServer().get_document_store("Embedded") as store:
13
13
```
14
14
15
15
## Installation
16
-
Install from [PyPi](https://pypi.python.org/pypi), as [pyravendb-embedded](https://pypi.python.org/project/ravendb-embedded).
16
+
Install from [PyPi](https://pypi.python.org/pypi), as [ravendb-embedded](https://pypi.python.org/project/ravendb-embedded).
17
17
```bash
18
-
pip install ravendb-embedded
18
+
pip install ravendb_embedded
19
19
```
20
-
Install Ravendb-Embedded from pip will provide you with a copy of RavenDB server binaries files as well.
20
+
Install ravendb-embedded from pip will provide you with a copy of RavenDB server binaries files as well.
21
21
22
22
## Usage
23
23
#### Start a server
@@ -34,19 +34,19 @@ To be more in control about your server `start_server` method can take one param
34
34
you can download [dotnet binaries](https://www.microsoft.com/net/download/windows) and just put the path to it)
35
35
***command_line_args** - A list of all [server command args](https://ravendb.net/docs/article-page/6.0/csharp/server/configuration/command-line-arguments).
36
36
```python
37
-
from ravendb_embedded.options import ServerOptions
38
-
from ravendb_embedded.embedded_server import EmbeddedServer
37
+
from ravendb_embedded.options import ServerOptions
38
+
from ravendb_embedded.embedded_server import EmbeddedServer
There are options to make ravendb secured in Ravendb-Embedded:<br />
44
+
There are options to make ravendb secured in ravendb-embedded:<br />
45
45
1)`secured(server_pfx_certificate_path, client_pem_certificate_path, server_pfx_certificate_password=None, ca_certificate_path)` - For this option you will put path to a .pfx and .pem files and a password/ca cert
46
46
if you have one.
47
47
```python
48
-
from ravendb_embedded.options import ServerOptions
49
-
from ravendb_embedded.embedded_server import EmbeddedServer
48
+
from ravendb_embedded.options import ServerOptions
49
+
from ravendb_embedded.embedded_server import EmbeddedServer
Copy file name to clipboardExpand all lines: README.rst
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
========
2
2
Overview
3
3
========
4
-
Ravendb-Embedded is a RavenDB package for running RavenDB in embedded mode.
4
+
ravendb-embedded is a RavenDB package for running RavenDB in embedded mode.
5
5
6
6
.. code-block:: python
7
7
@@ -18,9 +18,9 @@ Install from `PyPi <https://pypi.python.org/pypi>`_, as `ravendb-embedded_ <http
18
18
19
19
.. code-block:: bash
20
20
21
-
pip install pyravendb
21
+
pip install ravendb
22
22
23
-
Install Ravendb-Embedded from pip will provide you with a copy of RavenDB server binaries files as well.
23
+
Install ravendb-embedded from pip will provide you with a copy of RavenDB server binaries files as well.
24
24
25
25
========
26
26
Usage
@@ -51,7 +51,7 @@ ServerOptions
51
51
52
52
Security
53
53
--------
54
-
There are two options to make ravendb secured in Ravendb-Embedded:
54
+
There are two options to make ravendb secured in ravendb-embedded:
55
55
56
56
1. `secured(server_pfx_certificate_path, client_pem_certificate_path, server_pfx_certificate_password=None, ca_certificate_path)` - For this option you will put path to a .pfx and .pem files and a password/ca cert
57
57
if you have one.
@@ -84,7 +84,7 @@ DatabaseOptions
84
84
85
85
Open the RavenDB studio in the browser
86
86
--------------------------------------------
87
-
To open RavenDB studio from Pyravendb-Embedded you can use ``open_studio_in_browser`` method and the studio will open automatically
87
+
To open RavenDB studio from ravendb-embedded you can use ``open_studio_in_browser`` method and the studio will open automatically
0 commit comments