We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aad1405 commit 9dcba42Copy full SHA for 9dcba42
README.md
@@ -10,20 +10,23 @@
10
$ yarn add @shelf/postgres-local --dev
11
```
12
13
-### 1. Start Postgres - TO BE DONE
+### 1. Start Postgres
14
15
```js
16
import {start} from '@shelf/postgres-local';
17
18
-await start({});
+await start({
19
+ seedPath: "schema.sql",
20
+ version: 14
21
+});
22
23
-### 2. Stop Postgres - TO BE DONE
24
+### 2. Stop Postgres
25
26
27
import {stop} from '@shelf/postgres-local';
28
-stop();
29
+await stop(14);
30
31
32
## Publish
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@shelf/postgres-local",
3
- "version": "1.0.0",
+ "version": "0.1.0-alpha",
4
"description": "Run 14 version of Postgres locally",
5
"keywords": [
6
"postgres",
0 commit comments