瀏覽代碼

Windows start script for ease

Owen Diffey 8 年之前
父節點
當前提交
f79eeaffa7
共有 2 個文件被更改,包括 15 次插入3 次删除
  1. 7 3
      README.md
  2. 8 0
      windows-start.cmd

+ 7 - 3
README.md

@@ -117,11 +117,15 @@ Steps 1-4 are things you only have to do once. The steps after that are steps yo
 
 
 	And again, make sure that the paths lead to the proper config and executable.
 	And again, make sure that the paths lead to the proper config and executable.
 
 
-5. Run `startRedis.cmd` and `startMongo.cmd` to start Redis and Mongo.
+**(Windows)**
+5.  If you are on Windows you can run `windows-start.cmd` or just double click the `windows-start.cmd` file and all servers will automatically start up.
 
 
-6. In a command prompt with the pwd of frontend, run `npm run development-watch`
+**Linux (or manual Windows)**
+6. Run `startRedis.cmd` and `startMongo.cmd` to start Redis and Mongo.
 
 
-7. In a command prompt with the pwd of backend, run `nodemon`
+7. In a command prompt with the pwd of frontend, run `npm run development-watch`
+
+8. In a command prompt with the pwd of backend, run `nodemon`
 
 
 ## Extra
 ## Extra
 
 

+ 8 - 0
windows-start.cmd

@@ -0,0 +1,8 @@
+start "Redis" "startRedis.cmd"
+start "Mongo" "startmongo.cmd"
+cd backend
+start "Backend" "nodemon"
+cd ..
+cd frontend
+start "Frotend" npm run development-watch
+cd ..