Skip to content

Commit

Permalink
Merge branch 'main' into jai/hyp-2740-add-neo4j-in-modus-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jairad26 committed Dec 15, 2024
2 parents 7a9031d + 1204d6a commit 1cf4207
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/do-not-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Check Do Not Merge

on:
pull_request:
branches:
- main
types:
- opened
- labeled
- unlabeled

permissions: read-all

jobs:
fail-for-do-not-merge:
if: contains(github.event.pull_request.labels.*.name, 'do not merge')
runs-on: ubuntu-latest
steps:
- name: Fail if PR is labeled do not merge
run: |
echo "This PR is labeled do not merge. Remove the label to pass this check."
exit 1
25 changes: 25 additions & 0 deletions modus/modus-cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,31 @@ Install Modus CLI via npm.
npm install -g @hypermode/modus-cli
```

<Info>

The Modus CLI automatically downloads various files and dependencies to the
following directory:

- Linux/macOS: `$HOME/.modus`
- Windows: `%USERPROFILE%/.modus`

If you would like to override the location of this directory, you can set the
`MODUS_HOME` environment variable to the desired path.

For example, if your local permissions on Windows don't allow creating a
directory in the root of your user profile, you can try a different location.
You can use the `AppData` directory, or any other directory where you have write
permissions.

```cmd
setx MODUS_HOME %APPDATA%\Modus
```

_Note, the Windows `setx` command makes the environment variable setting
permanent._

</Info>

## Commands

### `new`
Expand Down

0 comments on commit 1cf4207

Please sign in to comment.