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
If you dont have keys, you can request API authorization from Spotify at https://developer.spotify.com/documentation/web-api/, and TMDb at https://developers.themoviedb.org/3/getting-started/introduction
78
80
79
-
### Naming conventions
81
+
### Media
80
82
81
83
Your media must appear in the locations set by `.env`. Each media must be in a unique location and cannot share the same directory path(s)
84
+
85
+
#### Naming conventions
86
+
82
87
🎥 **Movies**
83
88
84
89
```
@@ -112,20 +117,18 @@ Tracks not found on Spotify can be put in a directory titled `Unknown Album` san
112
117
```
113
118
114
119
### Database
115
-
116
-
Run `npm run db:squash` to create the database and necessary migrations
117
-
Run `npm run start` to start the application in dev mode
120
+
121
+
Run `npm run init-db` to create migrations from schema, apply them, generate the database client
118
122
_homehost_ scans the media paths and adds the files to the database
119
123
Wait for the async job to finish generating metadata and save
120
-
To browse data, run `npm run db:browse` and go to `http://localhost:5555`
121
-
To reset the database and clear all data, run `npm run db:reset`
124
+
To browse data, run `npm run browse-db` and go to `http://localhost:5555`
125
+
To clear all data, run `npm run clear-db`
122
126
123
127
### Run
124
128
125
-
Run `npm run start` to start the application in dev mode
129
+
Run `npm run start` to start the application
126
130
By default, the server port is `5000`, client port is `3000`
127
-
Run `npm run start:prod` to start the application as prod
128
-
By default, client and server will run on `5000`
131
+
Run `npm run start:prod` to start the application as prod (default port is `5000`)
129
132
While running, _homehost_ continuously saves and retrieves information for any media that was added, moved or removed
130
133
131
134
### Routes
@@ -173,11 +176,11 @@ While running, _homehost_ continuously saves and retrieves information for any m
173
176
174
177
## Development
175
178
176
-
Works best in <imgsrc="client/src/assets/logos/Chrome.svg"width="16"height="16"title="Google Chrome"> Chrome. Coming to Desktop, iOS, Android.
179
+
Works best in <imgsrc="packages/client/assets/logos/Chrome.svg"width="16"height="16"title="Google Chrome"> Chrome. Coming to Desktop, iOS, Android.
177
180
178
181
## Powered by
179
182
180
-
<p><imgsrc="client/src/assets/logos/Spotify_Green.svg"width="200"height="150"title="Spotify Web API"> <imgsrc="client/src/assets/logos/TMDB_Green.svg"width="150"height="150"title="TMDb API"></p>
183
+
<p><imgsrc="packages/client/assets/logos/Spotify_Green.svg"width="200"height="150"title="Spotify Web API"> <imgsrc="packages/client/assets/logos/TMDB_Green.svg"width="150"height="150"title="TMDb API"></p>
181
184
182
185
## License
183
186
@@ -197,4 +200,4 @@ If any images posted here are in violation of copyright law, please contact us a
197
200
198
201
Most of the sourced material is posted according to the “fair use” doctrine of copyright law for non-commercial news reporting, education and discussion purposes. We comply with all takedown requests.
199
202
200
-
You may not use the Service for any illegal or unauthorized purpose. You must not, in the use of the Service, violate any laws in your jurisdiction (including but not limited to copyright or trademark laws).
203
+
You may not use the Service for any illegal or unauthorized purpose. You must not, in the use of the Service, violate any laws in your jurisdiction (including but not limited to copyright or trademark laws).
0 commit comments