Skip to content

Add file to automate startup. My solution: #34

Description

@ACCESS-DENIIED

I've created a quick bat script to automate the startup. Please consider something similar:

@echo off
:: Ensure the script is running as Administrator
net session >nul 2>&1
if %errorlevel% neq 0 (
echo This script requires Administrator privileges. Please run it as Administrator.
pause
exit /b
)

:: Navigate to the project directory
cd /d C:\Miles-env\M.I.L.E.S\Miles-V2

:: Activate the virtual environment
call .\Scripts\Activate

:: Start the project with npm
npm start

:: Keep the window open after execution
pause

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions