Preparation

Prerequisites

Before working with NYRA, ensure:

  • You have a compatible operating system (Linux, macOS, or Windows).

  • Your system is up to date with the latest patches.

  • You have basic familiarity with command-line operations.

  • You’ve installed necessary development tools (like compilers, interpreters, etc.) for the languages you plan to use.

Installing NYRA

NYRA can be installed either through a packaged release or built directly from source. Choose the approach that fits your workflow.

Installing from Packaged Release

If a precompiled package is available, follow these steps:

  1. Download the NYRA Release Visit the official NYRA site or repository and download the appropriate archive/package.

Example download command

wget https://example.com/nyra-latest-release.tar.gz

  1. Extract & Install Unpack the archive and run any install script if provided:

    tar -xzf nyra-latest-release.tar.gz cd nyra-release ./install.sh

  2. Verify Installation Check that NYRA is now recognized:

    nyra --version

Building from Source

If you prefer (or need) to build NYRA from source:

  1. Clone the Repository git clone https://example.com/nyra.git cd nyra

  2. Install Dependencies

Example for Ubuntu

sudo apt-get update sudo apt-get install build-essential cmake libssl-dev

  1. Build NYRA mkdir build && cd build cmake .. make

  2. Install the Binaries sudo make install

  3. Confirm Installation nyra --version

Configuring the Environment

Once NYRA is installed, configure your environment:

  1. Set Environment Variables Some features may require environment variables. Add them to your shell config (e.g., ~/.bashrc):

    export NYRA_HOME=/path/to/nyra export PATH=$PATH:$NYRA_HOME/bin

  2. Reload Config source ~/.bashrc

  3. NYRA Manager (Optional) If your distribution includes a NYRA Manager tool, install and configure it now:

    nyra manager init nyra manager update

Extensions & Modules

  1. Identify Required Extensions Figure out which extensions or modules you need (audio, video, AI, etc.).

  2. Plan Grouping Decide if certain extensions should run in the same thread group for performance or synchronization.

  3. Review Dependencies Some extensions may need additional libraries or third-party tools. Install them before proceeding.

Testing Your Setup

Perform a quick test to confirm everything is functioning:

  1. Sample App or Extension If the NYRA repository provides an example project, compile or run it:

    nyra run examples/hello_world

or

cd examples/hello_world ./hello_world_test

  1. Logs & Verification Look at console output or logs to ensure no errors appear.

Next Steps

With NYRA installed and configured:

  • You can start creating your own extensions.

  • Define data flows in a graph for more complex applications.

  • Consult the official NYRA documentation for deeper insights into advanced features.

Conclusion

Having completed these preparation steps, you’re ready to dive into NYRA development. This setup ensures that you have the correct environment, dependencies, and tools to successfully build and run NYRA-based apps and extensions.

Last updated