|
@@ -9,10 +9,12 @@ Audiogram has a number of dependencies:
|
9
|
9
|
|
10
|
10
|
If you're using a particularly fancy distributed setup you'll also need to install [Redis](http://redis.io/).
|
11
|
11
|
|
12
|
|
-Installation has been tested on Ubuntu 14.04 and 15.04. It has also been tested on various Mac OS X environments, with various degrees of Homebrew Hell involved.
|
|
12
|
+Installation has been tested on Ubuntu 14.04, 15.04, and 16.04. It has also been tested on various Mac OS X environments, with various degrees of Homebrew Hell involved.
|
13
|
13
|
|
14
|
14
|
This would theoretically work on Windows, but it hasn't been tested.
|
15
|
15
|
|
|
16
|
+You can skip almost all of the installation if you use [Docker](#docker-installation).
|
|
17
|
+
|
16
|
18
|
## Ubuntu 14.04+ installation
|
17
|
19
|
|
18
|
20
|
Note: if you're using something with very little memory, like a Digital Ocean micro droplet, it might cause an installation problem on the last step. See [Linux troubleshooting](INSTALL.md#linux-troubleshooting) below for how to fix it.
|
|
@@ -107,6 +109,31 @@ cd audiogram
|
107
|
109
|
npm install
|
108
|
110
|
```
|
109
|
111
|
|
|
112
|
+## Docker installation
|
|
113
|
+
|
|
114
|
+If you use [Docker](https://www.docker.com/products/docker), you can build an image from the included Dockerfile.
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+You can clone the repo and build an image, or build it directly from the repo:
|
|
119
|
+
|
|
120
|
+```sh
|
|
121
|
+git clone https://github.com/nypublicradio/audiogram.git
|
|
122
|
+cd audiogram
|
|
123
|
+docker build -t audiogram .
|
|
124
|
+```
|
|
125
|
+
|
|
126
|
+or
|
|
127
|
+
|
|
128
|
+```sh
|
|
129
|
+docker build -t https://github.com/nypublicradio/audiogram.git
|
|
130
|
+
|
|
131
|
+Now you can run Audiogram in a container using that image:
|
|
132
|
+
|
|
133
|
+```sh
|
|
134
|
+docker run -p 8888:8888 -t -i audiogram
|
|
135
|
+```
|
|
136
|
+
|
110
|
137
|
## Mac troubleshooting
|
111
|
138
|
|
112
|
139
|
If things aren't working on a Mac, there are a few fixes you can try.
|