- Open Windows Powershell with admin privilege, clone this repo, and cd to this repo's directory
git clone https://github.com/erlichlab/optogrid-manager.git
cd optogrid-manager
- Install Python 3.12.4 (64-bit)
- Download the installer from https://www.python.org/downloads/windows/
- Install Python 3.12.4 using the installer, with Customize Installation:
- Use admin privileges when installing py.exe
- Add python.exe to PATH
- Enable the "py" launcher (for all users)
- Verify installation:
py -3.12 -V- Create a virtual environment
py -3.12 -m venv venv- Activate the environment
venv\Scripts\activate- If your windows doesn't allow scripts execution, then allow it first, then activate
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned
venv\Scripts\activate- Install dependencies
pip install -r "requirements.txt"- Run the python backend BLE server
python headless_optogrid_backend.py- Install Node.js from official website, LTS version recommended
https://nodejs.org/en/download
- Verify Node installation in Windows Powershell
node -vIt should return version number. If command not found, then you need to debug the installation
- Launch the Web Application in Windws Powershell
node dashboard/server.js- Use a browser access the app via the following URL
If viewing from the same machine
localhost:3000
If viewing from other machine in the same local network, use the URL following "Network Access" printed in the Powershell window, for example:
172.10.158.222:3000
This repository is to share the Optogrid Manager application with OpenEphys for testing. Its license is set to "All Rights Reserved" for now until device distribution begins.