mirror of
https://github.com/vegu-ai/talemate.git
synced 2025-12-16 03:37:51 +01:00
initial commit
This commit is contained in:
26
install.bat
Normal file
26
install.bat
Normal file
@@ -0,0 +1,26 @@
|
||||
@echo off
|
||||
|
||||
REM create a virtual environment
|
||||
python -m venv talemate_env
|
||||
|
||||
REM activate the virtual environment
|
||||
call talemate_env\Scripts\activate
|
||||
|
||||
REM install poetry
|
||||
pip install poetry
|
||||
|
||||
REM use poetry to install dependencies
|
||||
poetry install
|
||||
|
||||
REM copy config.example.yaml to config.yaml only if config.yaml doesn't exist
|
||||
IF NOT EXIST config.yaml copy config.example.yaml config.yaml
|
||||
|
||||
REM navigate to the frontend directory
|
||||
cd talemate_frontend
|
||||
npm install
|
||||
|
||||
REM return to the root directory
|
||||
cd ..
|
||||
|
||||
echo Installation completed successfully.
|
||||
pause
|
||||
Reference in New Issue
Block a user