Skip to content

Commit

Permalink
Update poc-demo.md
Browse files Browse the repository at this point in the history
  • Loading branch information
radumarias authored Jul 9, 2024
1 parent 53c962f commit b239d88
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions website/pages/poc-demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,28 +75,23 @@ In case you experience any inconsistencies in the way the files are synced, or n
For a more robust first time sync after you removed the `<PATH-REPO>` directory you should run the command with `--checksum` first time to compare also the `MD5 hash` when checking for changed files in `<PATH1-MNT>` compared to `<PATH2-MNT>`. This will result in a union from both `<PATH1-MNT>` and `<PATH2-MNT>`, no deletes will be made this first time.
After that you can run without the flag if you don't want to use the `MD5 hash` to determine changes.

# Work in progress

- merge changes trees between `path1` and `path2` and resolve conflicts
- apply changes to both `path1` and `path2`

# Compile it from source code
## Compile it from source code

## Clone the repo
### Clone the repo

```bash
git clone [email protected]:radumarias/syncoxiders.git
```

## Install rust
### Install rust

[Install Rust](https://www.rust-lang.org/tools/install)

```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```

### Configuring the PATH environment variable
#### Configuring the PATH environment variable

In the Rust development environment, all tools are installed to the `~/.cargo/bin` directory, and this is where you will find the Rust toolchain, including rustc, cargo, and rustup.

Expand All @@ -110,13 +105,18 @@ You can try this also:
$HOME/.cargo/env
```

## Compile the code
### Compile the code

```bash
cargo build --release
```
# Run it
### Run it

```bash
target/release/syncoxiders --path1-mnt <PATH1-MNT> --path2-mnt <PATH2-MNT> --path-repo <PATH-REPO>
```

# Work in progress

- merge changes trees between `path1` and `path2` and resolve conflicts
- apply changes to both `path1` and `path2`

0 comments on commit b239d88

Please sign in to comment.