Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy via ssh #62

Merged
merged 10 commits into from
Jan 22, 2022
34 changes: 22 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,35 @@ Crossbuilder aims at making cross compiling code and deploying projects to devic
Initially developed in: https://launchpad.net/crossbuilder

To use it, clone the repository and just run it from there:

cd crossbuilder
./crossbuilder help
```bash
cd crossbuilder
./crossbuilder help
```

To build and deploy your project on the device connected to your computer all in one go:

cd yourproject/
crossbuilder
```bash
cd yourproject/
crossbuilder
```

Change a line of code and type crossbuilder again to re-build and re-deploy.

To go even faster, bypass building Debian packages with:

crossbuilder --no-deb
```bash
crossbuilder --no-deb
```

For an even faster LXD setup, resetup LXD using ZFS:

crossbuilder setup-lxd
```bash
crossbuilder setup-lxd
```

To enter the LXD container used to build:

crossbuilder shell
```bash
crossbuilder shell
```

To use ssh instead of adb to deploy, use the ```--ssh``` option. If your device has ssh enabled on address let's say 192.168.0.5, use:
```bash
crossbuilder [email protected]
```
Loading