Kaynağa Gözat

Merge branch 'master' of github.com:panoplymedia/audiogram

Darren Cox 6 yıl önce
ebeveyn
işleme
ca0b5ba6af
6 değiştirilmiş dosya ile 8 ekleme ve 3957 silme
  1. 1 0
      .gitignore
  2. 4 0
      INSTALL.md
  3. 0 4
      README.md
  4. 0 3950
      package-lock.json
  5. 2 2
      package.json
  6. 1 1
      server/index.js

+ 1 - 0
.gitignore Dosyayı Görüntüle

@@ -7,3 +7,4 @@ junk/
7 7
 media/
8 8
 *.log
9 9
 .jobs
10
+package-lock.json

+ 4 - 0
INSTALL.md Dosyayı Görüntüle

@@ -133,6 +133,10 @@ Now you can run Audiogram in a container using that image:
133 133
 docker run -p 8888:8888 -t -i audiogram
134 134
 ```
135 135
 
136
+## AWS installation
137
+
138
+If you're trying to run Audiogram on AWS services like Lambda or Elastic Beanstalk that rely on the Amazon Linux distribution, you will probably need to follow the [node-canvas Amazon Linux AMI instructions](https://github.com/Automattic/node-canvas/wiki/Installation---Amazon-Linux-AMI-(EC2)) to install the dependencies and/or package up the resulting binaries.
139
+
136 140
 ## Mac troubleshooting
137 141
 
138 142
 If things aren't working on a Mac, there are a few fixes you can try.

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 4
README.md


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 3950
package-lock.json


+ 2 - 2
package.json Dosyayı Görüntüle

@@ -25,7 +25,7 @@
25 25
   "dependencies": {
26 26
     "aws-sdk": "^2.2.39",
27 27
     "browserify": "^13.0.0",
28
-    "canvas": "^1.6.5",
28
+    "canvas": "git+https://github.com/chearon/node-canvas.git#12971f64a66b",
29 29
     "compression": "^1.6.1",
30 30
     "d3": "4.10.0",
31 31
     "dotenv": "^2.0.0",
@@ -35,11 +35,11 @@
35 35
     "morgan": "^1.7.0",
36 36
     "multer": "^1.1.0",
37 37
     "node-ffprobe": "^1.2.2",
38
-    "node-uuid": "^1.4.7",
39 38
     "redis": "^2.4.2",
40 39
     "rimraf": "^2.5.0",
41 40
     "smartquotes": "^1.0.0",
42 41
     "underscore": "^1.8.3",
42
+    "uuid": "^3.0.1",
43 43
     "webaudio-peaks": "0.0.5",
44 44
     "winston": "^2.2.0"
45 45
   },

+ 1 - 1
server/index.js Dosyayı Görüntüle

@@ -3,7 +3,7 @@ var express = require("express"),
3 3
     compression = require("compression"),
4 4
     path = require("path"),
5 5
     multer = require("multer"),
6
-    uuid = require("node-uuid"),
6
+    uuid = require("uuid"),
7 7
     mkdirp = require("mkdirp");
8 8
 
9 9
 // Routes and middleware