-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.bat
More file actions
54 lines (46 loc) · 1.01 KB
/
setup.bat
File metadata and controls
54 lines (46 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
@echo off
echo 🎵 Spotify Queue App Setup
echo ==========================
echo.
REM Check if .env exists
if not exist .env (
echo Creating .env file from env.example...
copy env.example .env
echo Created .env file
echo Please edit .env and add your Spotify credentials!
) else (
echo .env file already exists
)
REM Create data directory
if not exist data (
echo Creating data directory...
mkdir data
echo Created data directory
) else (
echo Data directory already exists
)
REM Install root dependencies
echo.
echo Installing root dependencies...
call npm install
REM Install client dependencies
echo.
echo Installing client dependencies...
cd client
call npm install
cd ..
REM Install admin dependencies
echo.
echo Installing admin dependencies...
cd admin
call npm install
cd ..
echo.
echo Setup complete!
echo.
echo Next steps:
echo 1. Edit .env and add your Spotify credentials
echo 2. Run 'npm run dev' for development
echo 3. Or run 'docker-compose up' for production
echo.
pause