https://github.com/free5gc/webconsole
https://github.com/free5gc/webconsole
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/free5gc/webconsole
- Owner: free5gc
- License: apache-2.0
- Created: 2020-04-26T20:14:11.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-03-27T16:26:18.000Z (about 1 year ago)
- Last Synced: 2024-03-27T17:39:39.552Z (about 1 year ago)
- Language: TypeScript
- Size: 4.2 MB
- Stars: 15
- Watchers: 6
- Forks: 37
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# free5GC Web Console
### Install Node.js
```bash
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:
```bash
# (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:
```bash
# (In directory: ~/free5gc/webconsole)
go run server.go
```### Connect to WebConsole
Enter `: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
```bash
cd frontend/
yarn start
```To specify backend server api url
```bash
cd frontend/
REACT_APP_HTTP_API_URL=http://127.0.0.1:5000/api PORT=3000 yarn start
```