tangled
alpha
login
or
join now
rocksky.app
/
rocksky
96
fork
atom
A decentralized music tracking and discovery platform built on AT Protocol 🎵
rocksky.app
spotify
atproto
lastfm
musicbrainz
scrobbling
listenbrainz
96
fork
atom
overview
issues
7
pulls
pipelines
update README
tsiry-sandratraina.com
8 months ago
ac4c45c8
a62a16f9
+19
-5
2 changed files
expand all
collapse all
unified
split
README.md
apps
api
.env.example
+14
-2
README.md
···
21
21
npm install -g turbo
22
22
bun install
23
23
```
24
24
-
3. Run the database migrations:
24
24
+
3. Set up the environment variables:
25
25
+
````
26
26
+
cp apps/api/.env.example apps/api/.env
27
27
+
```
28
28
+
4. Start the Docker containers:
29
29
+
```bash
30
30
+
docker compose up
31
31
+
```
32
32
+
5. Run the database migrations:
25
33
```bash
26
34
turbo db:migrate --filter=@rocksky/api
27
35
```
28
28
-
4. Start the development server:
36
36
+
6. Start Analytics API:
37
37
+
```bash
38
38
+
cargo run -p analytics --release -- serve
39
39
+
```
40
40
+
7. Start the development server:
29
41
```bash
30
42
turbo dev --filter=@rocksky/api --filter=@rocksky/web
31
43
```
+5
-3
apps/api/.env.example
···
21
21
SPOTIFY_ENCRYPRION_IV="your spotify encryption iv"
22
22
ROCKSKY_BETA_TOKEN="your rocksky beta token"
23
23
24
24
-
NATS_URL="nats://localhost:4222"
24
24
+
NATS_URL="nats://localhost:4223"
25
25
ANALYTICS_URL="http://localhost:7879"
26
26
27
27
DROPBOX_REDIRECT_URI="http://localhost:8000/dropbox/oauth/callback"
···
29
29
DROPBOX_CLIENT_SECRET=""
30
30
GOOGLE_REDIRECT_URI="http://localhost:8000/googledrive/oauth/callback"
31
31
32
32
-
POSTGTRES_URL="postgresql://postgres@localhost:5432/rocksky"
33
33
-
MEILISEARCH_API_KEY="masterkey"
32
32
+
# The following envs depends on your docker compose setup
33
33
+
POSTGTRES_URL="postgresql://postgres:mysecretpassword@localhost:5433/rocksky"
34
34
+
MEILISEARCH_API_KEY="masterkey"
35
35
+
REDIS_URL="redis://localhost:6380"