瀏覽代碼

Updates readme for working with lib-jitsi-meet sources. Separates deploy make targets for deploying only the lib.

j8
damencho 9 年之前
父節點
當前提交
2c7ee3527a
共有 2 個檔案被更改,包括 43 行新增10 行删除
  1. 16
    5
      Makefile
  2. 27
    5
      README.md

+ 16
- 5
Makefile 查看文件

@@ -20,12 +20,23 @@ compile:
20 20
 clean:
21 21
 	rm -f $(OUTPUT_DIR)/app.bundle.*
22 22
 
23
-deploy:
24
-	mkdir -p $(DEPLOY_DIR) && \
23
+deploy: deploy-init deploy-appbundle deploy-lib-jitsi-meet deploy-css deploy-local
24
+
25
+deploy-init:
26
+	mkdir -p $(DEPLOY_DIR)
27
+
28
+deploy-appbundle:
25 29
 	cp $(OUTPUT_DIR)/app.bundle.min.js $(OUTPUT_DIR)/app.bundle.min.map \
26
-	$(LIBJITSIMEET_DIR)/lib-jitsi-meet.min.js \
27
-	$(LIBJITSIMEET_DIR)/lib-jitsi-meet.min.map $(DEPLOY_DIR) && \
28
-	(cd css; cat $(CSS_FILES)) | $(CLEANCSS) > css/all.css && \
30
+	$(DEPLOY_DIR)
31
+
32
+deploy-lib-jitsi-meet:
33
+	cp $(LIBJITSIMEET_DIR)/lib-jitsi-meet.min.js \
34
+	$(LIBJITSIMEET_DIR)/lib-jitsi-meet.min.map $(DEPLOY_DIR)
35
+
36
+deploy-css:
37
+	(cd css; cat $(CSS_FILES)) | $(CLEANCSS) > css/all.css
38
+
39
+deploy-local:
29 40
 	([ ! -x deploy-local.sh ] || ./deploy-local.sh)
30 41
 
31 42
 uglify:

+ 27
- 5
README.md 查看文件

@@ -1,10 +1,10 @@
1
-Jitsi Meet - Secure, Simple and Scalable Video Conferences 
1
+Jitsi Meet - Secure, Simple and Scalable Video Conferences
2 2
 ====
3 3
 Jitsi Meet is an open-source (Apache) WebRTC JavaScript application that uses [Jitsi Videobridge](https://jitsi.org/videobridge) to provide high quality, scalable video conferences. You can see [Jitsi Meet in action](http://youtu.be/7vFUVClsNh0) here at the session #482 of the VoIP Users Conference.
4 4
 
5 5
 You can also try it out yourself at https://meet.jit.si .
6 6
 
7
-Jitsi Meet allows for very efficient collaboration. It allows users to stream their desktop or only some windows. It also supports shared document editing with Etherpad and remote presentations with Prezi. 
7
+Jitsi Meet allows for very efficient collaboration. It allows users to stream their desktop or only some windows. It also supports shared document editing with Etherpad and remote presentations with Prezi.
8 8
 
9 9
 ## Installation
10 10
 
@@ -14,7 +14,7 @@ For other systems, or if you wish to install all components manually, see the [d
14 14
 
15 15
 ## Building the sources
16 16
 
17
-Jitsi Meet uses [Browserify](http://browserify.org). If you want to make changes in the code you need to [install Browserify](http://browserify.org/#install). Browserify requires [nodejs](http://nodejs.org). 
17
+Jitsi Meet uses [Browserify](http://browserify.org). If you want to make changes in the code you need to [install Browserify](http://browserify.org/#install). Browserify requires [nodejs](http://nodejs.org).
18 18
 
19 19
 On Debian/Ubuntu systems, the required packages can be installed with:
20 20
 ```
@@ -28,9 +28,31 @@ To build the Jitsi Meet application, just type
28 28
 make
29 29
 ```
30 30
 
31
+## Working with the library sources(lib-jitsi-meet).
32
+
33
+By default the library is build from its git repository sources. The default dependency path in package.json is :
34
+```json
35
+"lib-jitsi-meet": "jitsi/lib-jitsi-meet",
36
+```
37
+
38
+To work with local copy you must change the path to:
39
+```json
40
+"lib-jitsi-meet": "file:///Users/name/local-lib-jitsi-meet-copy",
41
+```
42
+
43
+To make the project you must force it to take the sources as 'npm update' will not do it.
44
+```
45
+npm install lib-jitsi-meet --force && make
46
+```
47
+
48
+Or if you are making only changes to the library:
49
+```
50
+npm install lib-jitsi-meet --force && make deploy-lib-jitsi-meet
51
+```
52
+
31 53
 ## Discuss
32
-Please use the [Jitsi dev mailing list](http://lists.jitsi.org/pipermail/dev/) to discuss feature requests before opening an issue on Github. 
54
+Please use the [Jitsi dev mailing list](http://lists.jitsi.org/pipermail/dev/) to discuss feature requests before opening an issue on Github.
33 55
 
34 56
 ## Acknowledgements
35 57
 
36
-Jitsi Meet started out as a sample conferencing application using Jitsi Videobridge. It was originally developed by then ESTOS' developer Philipp Hancke who then contributed it to the community where development continues with joint forces! 
58
+Jitsi Meet started out as a sample conferencing application using Jitsi Videobridge. It was originally developed by then ESTOS' developer Philipp Hancke who then contributed it to the community where development continues with joint forces!

Loading…
取消
儲存