Преглед изворни кода

Add in tags and chat services

James Allen пре 12 година
родитељ
комит
e3d3dd83ae
3 измењених фајлова са 20 додато и 5 уклоњено
  1. 3 0
      .gitignore
  2. 6 0
      Gruntfile.coffee
  3. 11 5
      config/settings.development.coffee.example

+ 3 - 0
.gitignore

@@ -8,6 +8,9 @@ clsi
 filestore
 track-changes
 docstore
+tags
+chat
+spelling
 
 compiles
 cache

+ 6 - 0
Gruntfile.coffee

@@ -24,6 +24,12 @@ SERVICES = [{
 }, {
 	name: "docstore"
 	repo: "https://github.com/sharelatex/docstore-sharelatex.git"
+}, {
+	name: "chat"
+	repo: "https://github.com/sharelatex/chat-sharelatex.git"
+}, {
+	name: "tags"
+	repo: "https://github.com/sharelatex/tags-sharelatex.git"
 }]
 
 module.exports = (grunt) ->

+ 11 - 5
config/settings.development.coffee.example

@@ -85,12 +85,18 @@ module.exports =
 		documentupdater:
 			port: docUpdaterPort = 3003
 			host: "localhost"
-		clsi:
-			port: clsiPort = 3013
-			host: "localhost"
 		filestore:
 			port: filestorePort = 3009
 			host: "localhost"
+		chat:
+			port: chatPort = 3010
+			host: "localhost"
+		tags:
+			port: tagsPort = 3012
+			host: "localhost"
+		clsi:
+			port: clsiPort = 3013
+			host: "localhost"
 		trackchanges:
 			port: trackchangesPort = 3015
 			host: "localhost"
@@ -120,7 +126,7 @@ module.exports =
 			url : "http://localhost:3002"
 			emptyProjectFlushDelayMiliseconds: 5 * seconds
 		tags:
-			url :"http://localhost:3012"
+			url :"http://localhost:#{tagsPort}"
 		spelling:
 			url : "http://localhost:3005"
 		versioning:
@@ -133,7 +139,7 @@ module.exports =
 			apiKey: ""
 			subdomain: ""
 		chat:
-			url: "http://localhost:3010"
+			url: "http://localhost:#{chatPort}"
 		templates:
 			port: 3007
 		blog: