Skip to content

Commit

Permalink
Add setup script for windows 👷
Browse files Browse the repository at this point in the history
  • Loading branch information
Freymaurer committed Apr 3, 2024
1 parent fbe7265 commit 7d6c107
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions ARCtrl.sln
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
pyproject.toml = pyproject.toml
README.md = README.md
RELEASE_NOTES.md = RELEASE_NOTES.md
setup.cmd = setup.cmd
EndProjectSection
EndProject
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "ARCtrl.CWL", "src\CWL\ARCtrl.CWL.fsproj", "{1CD34A01-D19A-441F-8F3D-6EF69D9DDA8D}"
Expand Down
15 changes: 15 additions & 0 deletions setup.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
@echo off
TITLE ARCtrl Setup

ECHO Install JavaScript Dependencies
REM npm is a batch file itself. Must use with "CALL" otherwise will exit afterwards.
CALL npm i

ECHO Setup Python Virtual Environment
CALL py -m venv .venv

ECHO Install Python Dependencies
CALL .\.venv\Scripts\python.exe -m pip install -U pip setuptools
CALL .\.venv\Scripts\python.exe -m pip install poetry
CALL .\.venv\Scripts\python.exe -m poetry install --no-root
ECHO DONE!

0 comments on commit 7d6c107

Please sign in to comment.