Skip to content

Commit

Permalink
Adjusted README for new location
Browse files Browse the repository at this point in the history
Signed-off-by: Ole Herman Schumacher Elgesem <[email protected]>
  • Loading branch information
olehermanse committed Jan 25, 2021
1 parent 35c3ac8 commit aac36f7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@ It's a _normal_ python package, but doesn't have a setup script (yet).
Clone `cfengine/core` repo where you want, and then symlink, like this:

```
$ git clone https://github.com/cfengine/core.git
$ ln -s `pwd`/core/contrib/cf-remote/cf_remote/__main__.py /usr/local/bin/cf-remote
$ git clone https://github.com/cfengine/cf-remote.git
$ ln -s `pwd`/cf-remote/cf_remote/__main__.py /usr/local/bin/cf-remote
```

Install dependencies:

```
$ cd core/contrib/cf-remote/
$ cd cf-remote/
$ pip3 install -r requirements.txt
```

Check that it worked:

```
$ ls -al `which cf-remote`
lrwxr-xr-x 1 olehermanse admin 68 Jan 10 15:20 /usr/local/bin/cf-remote -> /northern.tech/cfengine/core/contrib/cf-remote/cf_remote/__main__.py
lrwxr-xr-x 1 olehermanse admin 68 Jan 10 15:20 /usr/local/bin/cf-remote -> /northern.tech/cfengine/cf-remote/cf_remote/__main__.py
$ cf-remote --version
cf-remote version 0.1 (BETA)
Available CFEngine versions:
Expand Down

0 comments on commit aac36f7

Please sign in to comment.