Since you're on Windows and Docker is giving path errors, here's the easier way to run EdgeLab:
pip install flask flask-cors streamlit requestsrun_windows.batThis will:
- Initialize the database
- Start the API in one window
- Start the UI in another window
Go to: http://localhost:8501
cd api
python database.py
python app.pycd ui
streamlit run streamlit_app.pyThe code executor uses Docker to run submitted code safely. On Windows, you need:
- Docker Desktop must be running
- WSL 2 backend enabled (Docker Desktop → Settings → General → Use WSL 2)
If Docker isn't working, the code execution will fail but you can still:
- See the UI
- Test the API
- View the architecture
If Docker keeps having issues, run everything in WSL:
# In WSL terminal
cd /mnt/c/Users/Rizwan/Documents/EdgeLab/edgelab
docker compose up"Module not found" errors:
pip install -r api/requirements.txt
pip install -r ui/requirements.txtPort 5000 in use:
- Close other applications using port 5000
- Or change the port in
api/app.py:app.run(host='0.0.0.0', port=5001)
Streamlit not found:
pip install streamlitIf you can't get Docker working, you can still demonstrate the project by:
- Showing the code and architecture
- Explaining the security design
- Walking through how it would work with Docker
- Demonstrating the UI and API structure
The important part is understanding the system design, which you clearly do since the test passed!