Local Setup Issues

@auggod not sure where to post this, but I circled back to setting up stream locally an am stuck on a CORS issue.

I am running branch 7.x-dev-release to API_DOMAIN=beta.stream.resonate.coop and getting:

Access to fetch at ‘Resonate’ from origin ‘http://localhost:8089’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.

it sees like a super-simple thing I’m missing :pray:

my env file

[api]
API_DOMAIN=beta.stream.resonate.coop
APP_DOMAIN=beta.stream.resonate.localhost
API_PREFIX=/api
APP_ENV=development
COOKIE_DOMAIN=.resonate.localhost
SITE_DOMAIN=resonate.localhost
STRIPE_TOKEN=pk_***
DISABLE_NANOTIMING=no
LOG_LEVEL=debug
RATES_API_HOST=https://api.ratesapi.io
PACKAGE_URL=https://raw.githubusercontent.com/resonatecoop/resonate/develop/beta/package.json
SW_VERSION=version2
1 Like

Hey, Sorry It was supposed to work but it isn’t.

You may run the app on port 8080 instead (http or https).
Also you need to change API_DOMAIN to api.resonate.coop and removes API_PREFIX

1 Like

that worked! Should I make a PR?

You can make a PR on 7.x-dev-release, I’ll see if it does not conflict in any way with what’s coming next.

1 Like

created https://github.com/resonatecoop/stream/pull/97
it’s a 2 line change

2 Likes

I have merged your changes while adding my own.
You’ll find explanation in your PR comments.

2 Likes

@auggod any hints on being able to get playlists to show? I can’t see my playlists, others playlists

I can see other types of releases, just not playlists.

Here’s what I did to get them to show for me locally

here’s what I have to do to get the filters working locally: