@@ -14,7 +14,7 @@ The backend server for üWave, the collaborative listening platform.
14
14
The server on its own only provides an HTTP API, so you must also run the web
15
15
client to actually use it.
16
16
17
- üWave requires MongoDB and Redis databases .
17
+ üWave requires a Redis database .
18
18
19
19
## Usage
20
20
@@ -35,10 +35,9 @@ Environment Variables:
35
35
- ` SECRET ` - A secret key used for encrypting passwords. Must be a 64-character
36
36
hexadecimal string (= 256 bits).
37
37
- ` PORT ` - Port to listen on. Defaults to 6042.
38
+ - ` SQLITE_PATH ` - Path to the database file to use. Defaults to ` uwave.sqlite ` .
38
39
- ` REDIS_URL ` - URL of the Redis instance to connect to. Defaults to
39
40
` redis://localhost:6379/ ` .
40
- - ` MONGODB_URL ` - URL of the MongoDB database to use. Defaults to
41
- ` mongodb://localhost:27017/uwave ` .
42
41
- ` YOUTUBE_API_KEY ` (optional) - Your YouTube Data API key.
43
42
44
43
## Development
@@ -58,7 +57,7 @@ of the repository.
58
57
``` bash
59
58
# Database connection URLs.
60
59
REDIS_URL=redis://localhost:6379/
61
- MONGODB_URL=mongodb://localhost:27017/ uwave_dev
60
+ SQLITE_PATH= uwave_dev.sqlite
62
61
63
62
# Enables the YouTube media source if given.
64
63
YOUTUBE_API_KEY=your key
@@ -80,7 +79,7 @@ Create and start a üWave server.
80
79
81
80
** Parameters**
82
81
83
- - ` mongo ` - A MongoDB connection URL .
82
+ - ` sqlite ` - Path to the SQLite database file .
84
83
- ` redis ` - A Redis connection URL.
85
84
86
85
### uw.source(sourcePlugin, options={})
@@ -103,7 +102,6 @@ Stops the üWave server.
103
102
104
103
[ MIT] [ ]
105
104
106
- [ Mongoose ] : http://mongoosejs.com/
107
105
[ IORedis ] : https://github.com/luin/ioredis
108
106
[ u-wave-source keyword ] : https://www.npmjs.com/browse/keyword/u-wave-source
109
107
0 commit comments