You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: INSTALL.md
+29Lines changed: 29 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,7 @@ Install the non-python dependencies
60
60
61
61
*[PostgreSQL](http://www.postgresql.org/download/) (minimum required version 9.3.5, we have tested most extensively with 9.3.6)
62
62
*[redis-server](http://redis.io) (we have tested most extensively with 2.8.17)
63
+
*[webdis] (https://github.com/nicolasff/webdis) (latest version should be fine but we have tested the most with 9ee6fe2 - Feb 6, 2016)
63
64
64
65
There are several options to install these dependencies depending on your needs:
65
66
@@ -87,6 +88,27 @@ brew update
87
88
brew install homebrew/versions/redis28
88
89
```
89
90
91
+
### webdis
92
+
93
+
Note that this is the only package that assumes that Qiita is already installed (due to library dependencies). Also, that the general suggestion is to have 2 redis servers running, one for webdis/redbiom and the other for Qiita. The reason for multiple redis servers is so that the redbiom cache can be flushed without impacting the operation of the qiita server itself.
94
+
95
+
The following instructions install, compile and pre-populates the redbiom redis DB so we assume that redis is running on the default port and that Qiita is fully installed as the redbiom package is installed with Qiita.
@@ -151,6 +173,13 @@ Next, make a test environment:
151
173
qiita-env make --no-load-ontologies
152
174
```
153
175
176
+
Finally, redbiom relies on the REDBIOM_HOST environment variable to set the URL to query. By default is set to Qiita redbiom public repository. To change it you could do:
177
+
178
+
179
+
```bash
180
+
export REDBIOM_HOST=http://my_host.com:7379
181
+
```
182
+
154
183
## Start Qiita
155
184
156
185
Start postgres (instructions vary depending on operating system and install method).
0 commit comments