Remote Dev Setup
This tutorial will walk you through setting up a NEPI remote system environment. The last section provides instructions for deploying and building NEPI from source for developers wanting the latest development branch or deploying customized solutions.
NOTE: NEPI Remote System Setup supports the following hardware platforms:
1) Ubuntu Linux PC connected to a NEPI Device over a wired or WiFi connection
2) NEPI device itself, within the NEPI Host environment
3) Windows or Mac PC running a Ubuntu Linux Virtual Environment
NOTE: For Windows and Mac PCs, you will first need to install and start a Ubuntu Virtual Environment with network access from within the virtual environment. There are many good online tutorials on this process.
For detailed tutorials on NEPI User PC Setup processes see the "NEPI Getting Started" tutorials at: NEPI Tutorials
For additional support, visit the NEPI software community forum at: NEPI Community
NEPI Remote System Setup
Update Git application (sudo password is #Nsetup4You):
sudo apt update && sudo apt install -y git
Clone the NEPI setup repo:
cd /home/${USER}
git clone https://github.com/nepi-engine/nepi_setup.git
Run the NEPI System Setup script:
NOTE: If asked for the nepiadmin password, use
nepiadmin.
bash /home/${USER}/nepi_setup/scripts/remote_env_setup.sh
source ~/.bashrc
NOTE: After the first setup is complete, you can rerun the setup process by typing:
nepisetup
Other useful NEPI command line shortcuts:
sshnh # SSH into the NEPI Software Host System
sshn # SSH into the running NEPI Software Container
See the NEPI System command line shortcuts menu:
nepihelp
NEPI GitHub Setup
This section is optional. Follow these steps if you want to get, update, and build NEPI Software from source code.
Check or set up an SSH Key for your GitHub Account by typing the following:
nepigithub
NOTE: If successful, the nepi_engine_ws repo will be cloned to your home folder at
~/nepi_engine_ws.
Additional command line NEPI GitHub commands are available:
nepiclone # Clone the latest NEPI source-code repo
nepiclonedev # Clone the latest NEPI branch source-code repo
nepipull # Update to the latest NEPI source-code repo
nepimain # Switch to the NEPI source-code main repo branch
nepidev # Switch to the NEPI source-code develop repo branch
nepidpl # Deploy nepi source-code to nepi device
pushn # Push current repo (or submodule repo) if you have push permissions
NOTE: For instructions on deploying and building NEPI Software from source code, see the NEPI Software Build tutorial.
NEPI Software Tutorials
Learn more about using and configuring the NEPI software, as well as building and deploying custom AI Models at nepi.com.
See the documentation, tutorials, videos, and community forum available at NEPI.com: NEPI Website
NEPI AI Training Software Setup
This section is optional. Follow these steps if you need to label image data and train custom AI models. This section walks through installing the labelImg software.
Run the NEPI AI Training Setup script:
bash /home/${USER}/nepi_setup/scripts/dev_ai_train_setup.sh
NOTE: After this process both label-studio and labelImg software packages will be installed.
Test that labelImg opens:
labelImg
Test that label-studio opens:
label-studio