Skip to content

6G-SANDBOX/TNLCM_FRONTEND

Repository files navigation

TNLCM frontend is a web application tailored for use by the platform owners and, as such, will provide information and functionality for handling all the Trial Networks in the corresponding platform. To achieve this, the frontend makes use of the APIs exposed by the TNLCM. Other frontends, for example, a simplified one tailored for Experimenters or Trial Network owners can be developed by making use of the same APIs, either by an external developer or by the 6G-SANDBOX consortium.

Note

TNLCM frontend is under development and is subject to continuous changes.

Table of Contents

🛠️ Stack

  • Node.js - JavaScript runtime platform.
  • Next.js - React framework for web applications.

🚀 Getting Started Locally

Note

TNLCM frontend is being developed on Windows 10 and has been tested on Windows 10 and Ubuntu in version 22.04.3 LTS.

Tip

TNLCM frontend uses the following repository branches:

Repository Release
6G-Library v0.2.0
TNLCM v0.2.0

Warning

In order to run TNLCM frontend, the following tools are required to be deployed on the platforms:

  • OpenNebula: v6.6.3 or later

From OpenNebula Marketplace:

  • Jenkins
  • MinIO
  • OneKE: v1.27 or 1.29
  • Ueransim: v3.2.6

📥 Download or clone repository

Download the main branch from the TNLCM_FRONTEND repository.

Clone repository:

git clone https://github.com/6G-SANDBOX/TNLCM_FRONTEND.git

🔧 Configure environment variables

Create a .env file at the root level, using the structure and content provided in the .env.template file.

Mandatory update the value of the variable according on the platform:

  • NEXT_PUBLIC_LINKED_TNLCM_BACKEND_HOST

📁 Add node_modules folder

Important

This step requires Node.js to be installed on the machine.

  • Windows

  • Ubuntu

    curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - &&\
    sudo apt-get install -y nodejs

The node_modules must be created inside the TNLCM_FRONTEND project:

npm install

To start TNLCM frontend:

npm run dev

Frontend will be available at http://tnlcm-frontend-ip:3000

Back to top🔼

👷 Development Team

Photo Name Email GitHub Linkedin
Carlos Andreo López [email protected]

Back to top🔼