A decentralized music tracking and discovery platform built on AT Protocol 🎵

update README

+19 -5
+14 -2
README.md
··· 21 21 npm install -g turbo 22 22 bun install 23 23 ``` 24 - 3. Run the database migrations: 24 + 3. Set up the environment variables: 25 + ```` 26 + cp apps/api/.env.example apps/api/.env 27 + ``` 28 + 4. Start the Docker containers: 29 + ```bash 30 + docker compose up 31 + ``` 32 + 5. Run the database migrations: 25 33 ```bash 26 34 turbo db:migrate --filter=@rocksky/api 27 35 ``` 28 - 4. Start the development server: 36 + 6. Start Analytics API: 37 + ```bash 38 + cargo run -p analytics --release -- serve 39 + ``` 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 - NATS_URL="nats://localhost:4222" 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 - POSTGTRES_URL="postgresql://postgres@localhost:5432/rocksky" 33 - MEILISEARCH_API_KEY="masterkey" 32 + # The following envs depends on your docker compose setup 33 + POSTGTRES_URL="postgresql://postgres:mysecretpassword@localhost:5433/rocksky" 34 + MEILISEARCH_API_KEY="masterkey" 35 + REDIS_URL="redis://localhost:6380"