Spaces:
Sleeping
Sleeping
|
Download deployment_guide.md from alisaleem97/NexLab_System: direct link, hf CLI and curl.
- Browser
- Download file 1.82 kB
-
https://huggingface.co/spaces/alisaleem97/NexLab_System/resolve/main/deployment_guide.md
- Command line
-
hf download hf://spaces/alisaleem97/NexLab_System/deployment_guide.md
-
curl -L -o deployment_guide.md https://huggingface.co/spaces/alisaleem97/NexLab_System/resolve/main/deployment_guide.md
1.82 kB
NexLab LIS Deployment Guide (Server PC)
This guide helps you move the NexLab Laboratory System to a new PC and set it up as a server for other machines in the lab.
Step 1: Copying the System
- Locate the
NexLab_Publishedfolder created by the packager. - Copy this entire folder to your target PC (e.g., using a USB Drive).
- Place it in a safe location (e.g.,
C:\NexLab_LIS).
Step 2: One-Time Set Up (Target PC)
- Open the
NexLab_Publishedfolder on the new PC. - Double-click
install_requirements.bat. This will:- Create the virtual environment.
- Install all Python libraries.
- Download the PDF generation components (Playwright Chrome).
- Note: This requires internet access the first time.
Step 3: Running the System
- Double-click
start_nexlab.bat. - A window will open showing that the server is running.
- You can access the system on this PC at:
http://localhost:8000(or your chosen port).
Extra: How to Change the Port
If you need to change the port (e.g. to 5000 or 80):
- Open
start_nexlab.batin Notepad. - Change the line
set "PORT=8000"to your preferred number. - Save the file and restart the system.
Step 4: Connecting from Other PCs
- find the IP Address of the Server PC:
- Open Command Prompt and type
ipconfig. - Look for "IPv4 Address" (e.g.,
192.168.1.50).
- Open Command Prompt and type
- On any other PC in the lab, open a browser and go to:
http://192.168.1.50:8000.
Step 5: (Optional) Automatic Start
- To make the server start automatically when you log into Windows:
- Double-click
add_to_startup.batonce.
Requirements for the Server PC:
- Windows 10/11.
- Python 3.10 or higher installed (one-time requirement for the environment setup).
- Port 8000 allowed in Windows Firewall (if connecting from other PCs).