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: learn/getting-started/install-and-connect-harper.mdx
+36-13Lines changed: 36 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,28 +2,55 @@
2
2
title: Install and Connect Harper
3
3
---
4
4
5
+
importTabsfrom'@theme/Tabs';
6
+
importTabItemfrom'@theme/TabItem';
7
+
5
8
# Install and Connect Harper
6
9
7
-
The recommended approach for efficiently developing applications with Harper is to install Harper locally for efficient development of an application and deploy it to [Harper Fabric](https://fabric.harper.fast), our distributed data application platform service. However, you can also develop directly in Fabric, if you want to quickly try it out. You can also run a self-hosted Harper server, and manage it with our Fabric studio management UI.
10
+
Developers have two recommended approaches for developing Harper applications; either locally or with [Harper Fabric](https://fabric.harper.fast), our distributed data application platform service. If you start developing locally, you can always switch to Fabric by deploying your application. If you're interested in setting up a Fabric instance, navigate to the [Fabric](../../fabric/index.md) part of the documentation, and then come back after you have created your first Fabric cluster.
11
+
12
+
## Install Harper Locally
8
13
9
-
## Install with npm
14
+
Harper is published to the npm registry and requires Node.js current, active LTS, or maintenance LTS versions to run.
10
15
11
-
The fastest way to get Harper running locally is to install with npm. Make sure you have [Node.js](https://nodejs.org/) (LTS or newer). Then run:
16
+
The fastest way to get started is by installing Harper globally using an npm compatible package manager:
12
17
13
18
```bash
14
-
npm install -g harperdb
15
-
harperdb
19
+
npm install -g harper
16
20
```
17
21
18
-
The first time, you’ll set up your destination, username, password, and [configuration](../deployments/configuration). That’s it! Harper is now running locally.
22
+
Then, execute the Harper CLI to start the interactive installation process:
23
+
24
+
```bash
25
+
harper install
26
+
```
19
27
20
-
✅ Quick check: open http://localhost:9925, which will launch the studio UI for managing your local server, or run this for a quick health check:
28
+
After completing the installation, run within the current command process using:
21
29
22
30
```bash
23
-
curl http://localhost:9925/health
31
+
harper
24
32
```
25
33
26
-
Harper can also be [installed with our Docker image or you can download Harper for manual or offline installation](../deployments/install-harper).
34
+
To check if everything is configured correctly and ready to go for development, run a quick health check using the `/health` endpoint available within the Operations API server.
35
+
36
+
:::note
37
+
If you configured a different Operations API port, use that instead of `9925` here.
Copy file name to clipboardExpand all lines: learn/index.md
+28-4Lines changed: 28 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,34 @@
2
2
title: Welcome to Harper Learn
3
3
---
4
4
5
-
Welcome to Harper Learn!
5
+
This documentation section contains thorough guides for learning how to develop and manage applications with Harper. The guides are present in a logical order to build up knowledge across Harper's vast feature set. The guides are example based and provide a hands-on approach to teaching and demonstrating key features. Guides can be referenced independently, but assume the reader is familiar with concepts presented in previous guides.
6
6
7
-
This section contains thorough guides for learning how to build applications and more with Harper.
7
+
For example, the [Loading Data]() guide assumes the reader already knows how to build a basic Harper application (covered in ), create databases and tables using schemas, and some basic query techniques. Those concepts are specifically covered throughout the [Getting Started](), [Key Harper Application Features](), and [Defining Databases and Tables]() guides.
8
8
9
-
Each guide contains all necessary prerequisite and setup instructions for examples.
9
+
Most guides present both local-based and [Harper Fabric]() cloud-based examples and instructions. Regardless, in order to properly complete all examples, we recommend the following prerequisite tools installed and configured on your local machine:
10
10
11
-
The guides are presented in a logical order to built up knowledge across Harper's vast features set. Guides can be referenced independently, but will assume the reader is familiar with concepts contained within previous guides. For example, the [Loading Data]() guide assumes the reader already knows how to build a basic Harper application, create databases and tables using schemas, and some basic query techniques. Those concepts are specifically covered throughout the [Getting Started](), [Key Harper Application Features](), and [Defining Databases and Tables]() guides.
11
+
- Command line access and general file-system and networking permissions
12
+
-`sudo` is not required
13
+
- For local development, Harper requires permission to read/write files and localhost networking permissions
14
+
- HTTP Client of choice
15
+
- Most examples will present both curl and fetch based HTTP requests
16
+
- GUI-based HTTP clients will also work fine and is left
17
+
- Node.js Current, Active LTS, or Maintenance LTS version
18
+
- For more information see [Node.js Releases](https://nodejs.org/en/about/previous-releases)
19
+
- Verify your Node.js version by running `node -v` in the command line
20
+
- Code editor of choice
21
+
- Everything from `vim` to Visual Studio Code to WebStorm IDE will work fine for the purposes of these guides
22
+
23
+
If you ever have questions, join our official community [Discord](https://harper.fast/discord). Furthermore, Harper documentation is open source, if you notice anything out-of-place with the guide content, please [open an issue](https://github.com/HarperFast/documentation/issues) or submit changes directly using the "Edit this page" link at the bottom of every page.
24
+
25
+
26
+
:::info
27
+
28
+
Eagle-eye developers may notice some things still reference Harper's previous name, HarperDB.
29
+
30
+
The "database" part is not gone, Harper has simply evolved to become so much more than _just_ a database.
31
+
Harper is one-and-the-same with HarperDB, so please bare with us as we chip away at some renames.
32
+
33
+
:::
34
+
35
+
When you're ready to get started, click the "Next" tab below to begin your Harper adventure!
0 commit comments