@@ -72,27 +72,44 @@ Before running the project, ensure you have the following installed:
7272Use the following Docker commands to set up Redis, RabbitMQ, and MinIO (S3):
7373
7474- ** MinIO**
75+ #### MacOS/ Linux
7576 ``` bash
7677 docker run -d --name minio -p 9000:9000 --env-file .env \
7778 -e MINIO_ROOT_USER=${MINIO_ROOT_USER} \
7879 -e MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD} \
7980 -v minio-data:/data minio/minio:latest server /data
8081 ```
82+ #### Windows
83+ ``` bash
84+ docker run -d --name minio -p 9000:9000 --env-file .env -e MINIO_ROOT_USER=$env :MINIO_ROOT_USER -e MINIO_ROOT_PASSWORD=$env :MINIO_ROOT_PASSWORD -v ${PWD} \m inio-data:/data minio/minio:latest server /data
8185
86+ ```
8287- ** Redis**
88+ #### MacOS/ Linux
8389 ``` bash
8490 docker run -d --name redis -p 6379:6379 --env-file .env \
8591 -v redis-data:/data redis:latest \
8692 redis-server --requirepass " $( grep REDIS_PASSWORD .env | cut -d ' =' -f2) " --appendonly yes
8793
94+ ```
95+ #### Windows
96+
97+ ``` bash
98+ docker run -d --name redis -p 6379:6379 --env-file .env ` -v redis-data:/data redis:latest ` redis-server --requirepass $( Get-Content .env | Select-String ' REDIS_PASSWORD' | ForEach-Object { ($_ -split ' =' )[1].Trim() }) --appendonly yes
99+
100+
88101 ` ` `
89102
90103- ** RabbitMQ**
104+ # ### MacOS/ Linux
91105 ` ` ` bash
92106 docker run -d --name rabbitmq -p 5672:5672 -p 15672:15672 --env-file .env \
93107 -v rabbitmq-data:/var/lib/rabbitmq rabbitmq:management
94108 ` ` `
95-
109+ # ### Windows
110+ ` ` ` bash
111+ docker run -d --name rabbitmq -p 5672:5672 -p 15672:15672 --env-file .env ` -v rabbitmq-data:/var/lib/rabbitmq rabbitmq:management
112+ ` ` `
96113# ## Configuration
97114
98115Add the following configurations to ` appsettings.json` for MinIO (S3), Redis, and RabbitMQ:
@@ -141,13 +158,13 @@ Set up your MySQL database with the following parameters:
141158Update ` launchSettings.json` with the following parameters for backend generation:
142159
143160` ` ` json
144- "PARAMETER" : " {project_id:1,server:localhost,uid:1,username:root,password:,databaseName:splitthebill,script:http://localhost/split_app_script.sql,statusOfGeneration:null,projectName:ContentPlannerTest ,DBexists:No,port:3306,rabbitMQConn:amqp://user12345:12345 @localhost:5672/,redisConn:localhost:6379,password=12345 ,apiflowurl:,fronttemplateurl:,Technology_Frontend:,Backend_technology:dotnet,buttonClicked:generate,projectType:,swgurl:,noderedurl:null}"
161+ " PARAMETER" : " {project_id:1,server:localhost,uid:1,username:root,password:,databaseName:splitthebill,script:http://localhost/split_app_script.sql,statusOfGeneration:null,projectName:DemoApplication ,DBexists:No,port:3306,rabbitMQConn:amqp://user:password @localhost:5672/,redisConn:localhost:6379,password=yourredispassword ,apiflowurl:,fronttemplateurl:,Technology_Frontend:,Backend_technology:dotnet,buttonClicked:generate,projectType:,swgurl:,noderedurl:null}"
145162` ` `
146163
147164Update ` launchSettings.json` with the following parameters for frontend generation:
148165
149166` ` ` json
150- "PARAMETER" : " {project_id:1,server:localhost,uid:1,username:root,password:,databaseName:splitthebill,script:http://localhost/split_app_script.sql,statusOfGeneration:,projectName:ContentPlannerTest ,DBexists:Yes,port:3306,rabbitMQConn:amqp://user12345:12345 @localhost:5672/,redisConn:localhost:6379,password=12345 ,apiflowurl:,fronttemplateurl:,Technology_Frontend:reactts,Backend_technology:,buttonClicked:generate,projectType:dnd,swgurl:,noderedurl:}"
167+ " PARAMETER" : " {project_id:1,server:localhost,uid:1,username:root,password:,databaseName:splitthebill,script:http://localhost/split_app_script.sql,statusOfGeneration:,projectName:DemoApplication ,DBexists:Yes,port:3306,rabbitMQConn:amqp://user:passord @localhost:5672/,redisConn:localhost:6379,password=yourredispassword ,apiflowurl:,fronttemplateurl:,Technology_Frontend:reactts,Backend_technology:,buttonClicked:generate,projectType:dnd,swgurl:,noderedurl:}"
151168
152169` ` `
153170 # **Configuration Parameters**
0 commit comments