Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update dev setup docs and default env vars #436

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

JonBlauvelt
Copy link
Collaborator

@JonBlauvelt JonBlauvelt commented Jan 11, 2024

Description

After completing onboarding, making some changes to doc to reflect current setup process. I made some assumptions here:

  • We don't need/want any legacy (pre-azure) env vars
  • We don't need to get keycloak creds directly since we're using the shared dev creds from the doc

Related issues

#425

Copy link
Member

@ArendPeter ArendPeter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks for making these fixes

@@ -97,7 +97,7 @@ Run these commands on your local machine:
git clone --depth=1 https://github.com/YOUR_USER_NAME/star-server.git
```

This will download the entire freeCodeCamp repository to your projects directory.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

npm run dev
```

Launch frontend
Launch frontend. If you want to just run the web client without setting up the server you can change the proxy under frontend/package.json to "proxy": "dev.star.vote".
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Were you able to get the proxy to work?

I used to use this trick when we were on heroku, but I haven't had success with the dev.star.vote endpoint yet

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't try it - assumed it was still working 😬
I was able to get it to look at other local port here.

@ArendPeter ArendPeter merged commit de3f818 into Equal-Vote:main Jan 12, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants