Go to file
signal9 1817679460 Merge branch 'linux-setup-experience' into 'main'
Add a README, minor changes to linux setup script

See merge request veilid/veilid!4
2022-08-22 19:43:51 +00:00
.cargo make android unit tests and earthly build work 2022-01-11 21:48:37 -05:00
.vscode fix cooperative cancellation 2022-06-15 14:05:04 -04:00
external igd 2022-08-22 13:27:26 -04:00
files Add Test CA and simple certs for testing 2021-11-22 09:02:41 -05:00
package receipt rework and discovery rework 2022-05-28 10:07:57 -04:00
scripts update 2022-06-11 18:47:58 -04:00
veilid-cli move tasks to network manager 2022-07-22 13:05:28 -04:00
veilid-core oops port 0 2022-08-22 15:19:39 -04:00
veilid-flutter detection work 2022-08-07 14:55:48 -04:00
veilid-server igd 2022-08-22 13:27:26 -04:00
veilid-wasm detection work 2022-08-07 14:55:48 -04:00
.earthlyignore add eartly build 2022-01-09 15:17:36 -05:00
.gitignore lints 2021-11-27 21:38:24 -05:00
.gitlab-ci.yml don't bother with clippy after merge to main 2021-12-08 07:33:22 -05:00
.gitmodules igd 2022-08-22 13:27:26 -04:00
Cargo.lock igd 2022-08-22 13:27:26 -04:00
Cargo.toml eyre work 2022-07-06 23:15:51 -04:00
Earthfile igd 2022-08-22 13:27:26 -04:00
README.md Add a README, minor changes to linux setup script 2022-08-22 13:35:37 -06:00
setup_linux.sh Add a README, minor changes to linux setup script 2022-08-22 13:35:37 -06:00
setup_macos.sh wasm fixes 2022-06-15 23:29:45 -04:00

Veilid

Introduction

Obtaining the source code

git clone --recurse-submodules git@gitlab.hackers.town:veilid/veilid.git

Dependencies

GNU/Linux

Development of Veilid on GNU/Linux requires a Debian variant such as Debian itself, Ubuntu or Mint. Pull requests to support other distributions would be welcome!

Development requires the Android SDK and NDK be installed.

You may decide to use Android Studio to maintain your Android dependencies. If so, use the dependency manager within your IDE. If you do so, you may skip to [Run Veilid setup script](#Run Veilid setup script).

  • build-tools;30.0.3
  • ndk;22.0.7026061
  • cmake;3.22.1

Setup Dependencies using the CLI

Otherwise, you may choose to use Android sdkmanager. Follow the installation instructions for sdkmanager here, then use the command line to install the requisite package versions:

sdkmanager --install "build-tools;30.0.3"
sdkmanager --install "ndk;22.0.7026061"
sdkmanager --install "cmake;3.22.1"

Export environment variables and add the Android SDK platform-tools directory to your path.

cat << EOF >> ~/.profile 
export ANDROID_SDK_ROOT=<path to sdk>
export ANDROID_NDK_HOME=<path to ndk>
export PATH=${ANDROID_SDK_ROOT}/platform-tools"

Run Veilid setup script

Now you may run the Linux setup script to check your development environment and pull the remaining Rust dependencies:

./setup_linux.sh

macOS

TODO

Windows

TODO

Veilid Server

In order to run the veilid-server locally:

cd ./veilid-server
cargo run

In order to see what options are available:

cargo run -- --help

Veilid CLI

In order to connect to your local veilid-server:

cd ./veilid-cli
cargo run

Similar to veilid-server, you may see CLI options by typing:

cargo run -- --help