Skip to content
Snippets Groups Projects
Select Git revision
  • main default protected
  • dependabot/go_modules/github.com/gin-contrib/cors-1.6.0
  • master
  • v1.3.2
  • v1.3.1
  • v1.3.0
  • v1.2.0
  • v1.1.1
  • v1.1.0
  • v1.0.3
  • v1.0.2
  • v1.0.1
  • v1.0.0
13 results

webconsole

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Ian Chen authored
    feat: add configurable page auto-refresh to all pages (in Dashboard)
    29acb89f
    History

    free5GC Web Console

    Install Node.js

    sudo apt remove nodejs -y
    curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
    sudo apt update
    sudo apt install nodejs -y
    node -v # check that version is 20.x
    sudo corepack enable

    Build the Server

    To be able to run free5gc's webconsole server, consider building its source through the following steps:

    # (In directory: ~/free5gc/webconsole)
    cd frontend
    yarn install
    yarn build
    rm -rf ../public
    cp -R build ../public

    Run the Server

    To run free5gc's webconsole server, use:

    # (In directory: ~/free5gc/webconsole)
    go run server.go

    Connect to WebConsole

    Enter <WebConsole server's IP>:5000 in an internet browser URL bar

    Then use the credentials below:

    • Username: admin
    • Password: free5gc

    Run the Frontend Dev Web Server

    Run the frontend development server with file watcher

    cd frontend/
    yarn start

    To specify backend server api url

    cd frontend/
    REACT_APP_HTTP_API_URL=http://127.0.0.1:5000/api PORT=3000 yarn start