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
From the Cluster page, navigate to the Applications tab and click on "New Application" on the left-hand sidebar.
69
69
@@ -75,7 +75,8 @@ Keep the "Install Command" empty and the "Authorization" as "Public Access".
75
75
76
76
Finally, click the "Import Application" button and wait for the application to be instantiated.
77
77
78
-
</TabItem>
78
+
</TabItem>
79
+
79
80
</Tabs>
80
81
81
82
## Creating a Table
@@ -87,12 +88,13 @@ The core of most Harper applications is the data. Harper's data system is made u
87
88
88
89
Open `schema.graphql` in your text editor.
89
90
90
-
</TabItem>
91
-
<TabItemvalue="fabric"label="Fabric">
91
+
</TabItem>
92
+
<TabItemvalue="fabric"label="Fabric">
92
93
93
94
Navigate to the Files tab for your new application and open the `schema.graphql` file.
94
95
95
-
</TabItem>
96
+
</TabItem>
97
+
96
98
</Tabs>
97
99
98
100
Within `schema.graphql`, add:
@@ -154,12 +156,13 @@ Within your application directory, open a command line and run `harperdb dev .`
154
156
155
157
The `dev` command will watch all files (except for `node_modules` directory) within your application directory and restart Harper when changes are detected.
156
158
157
-
</TabItem>
158
-
<TabItem value="fabric" label="Fabric">
159
+
</TabItem>
160
+
<TabItem value="fabric" label="Fabric">
159
161
160
162
Click "Restart Cluster" to apply the new file changes.
161
163
162
-
</TabItem>
164
+
</TabItem>
165
+
163
166
</Tabs>
164
167
165
168
## Enabling the REST API
@@ -188,20 +191,21 @@ rest: true
188
191
189
192
If Harper is still running with the `dev` command, it should have automatically restarted.
190
193
191
-
If you look closely at the Harper logs, a new line should be added to the system configuration details:
194
+
If you look closely at the Harper logs, a new line should be added to the system configuration details:
192
195
193
196
```
194
197
REST: HTTP: 9926
195
198
```
196
199
197
200
This line tells you that the Harper REST API is configured on port `9926` (this is configurable, and this value is the default).
198
201
199
-
</TabItem>
200
-
<TabItem value="fabric" label="Fabric">
202
+
</TabItem>
203
+
<TabItem value="fabric" label="Fabric">
201
204
202
205
Click "Restart Cluster" to apply the new file changes.
0 commit comments