Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/getting-started/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ type Dog @table {
Now we tell Harper to run this as an application:

```bash
harperdb dev . # tell Harper cli to run current directory as an application in dev mode
harperdb dev ./ # tell Harper cli to run current directory as an application in dev mode
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are people actually confusing this? It's in a code block.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, why doesn't the project directory default to the current directory? Then we wouldn't need to specify the dot.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are people actually confusing this?

People seem to be fine with it. It is the robots that seem to be confounded by the idea of . meaning something other punctuation.

Also, why doesn't the project directory default to the current directory?

Agreed HarperFast/harper#53

Anyway, I am inclined to actually abandon/close this PR. I was trying several different things to help here, and this is actually probably an issue that the robots will get better at, we will get better at, and changing this isn't really that important.

```

If you are using the Fabric UI, you can click "Restart Cluster" to apply these schema changes.
Expand All @@ -64,7 +64,7 @@ type Dog @table {

This will ensure that new records must have these properties with these types.

Because we ran `harperdb dev .` earlier (dev mode), Harper is now monitoring the contents of our application directory for changes and reloading when they occur. This means that once we save our schema file with these new attributes, Harper will automatically reload our application, read `my-app/schema.graphql` and update the `Dog` table and attributes we just defined. The dev mode will also ensure that any logging or errors are immediately displayed in the console (rather only in the log file).
Because we ran `harperdb dev ./` earlier (dev mode), Harper is now monitoring the contents of our application directory for changes and reloading when they occur. This means that once we save our schema file with these new attributes, Harper will automatically reload our application, read `my-app/schema.graphql` and update the `Dog` table and attributes we just defined. The dev mode will also ensure that any logging or errors are immediately displayed in the console (rather only in the log file).

If you are running in Fabric, again, you can click "Restart Cluster" to apply any changes. You can navigate to the "Databases" page to see your new table and add records to it.

Expand Down