codu-code / codu

Codú's open-source codebase. A space for coders. Visit our community!
https://codu.co/
Apache License 2.0
120 stars 91 forks source link

Local development with new newsletter email functionailty is challenging #786

Open JohnAllenTech opened 6 months ago

JohnAllenTech commented 6 months ago

Context

Local development has gotten a little harder with the introduction of the newsletter functionality due to a number of additional env variables being needed.

This causes the settings tab to not allow you to update a users profile.

Expected Behavior

There should be an way to bypass needing these variables to develop locally

Current Behavior

You need to correct env variables or you need to bypass the functionality in the code

Screenshots

Drag and drop screenshots here to better describe your issue

Steps to reproduce

Please provide detailed steps for reproducing the issue

Follow the README Try to update your user settings locally after logging in

Additional info

Bypassed this locally by doing the following

image

and setting my .env to NODE_ENV=development This may not be a good idea when deployed.

https://github.com/codu-code/codu/assets/46611809/3974d15f-79f0-4422-b636-498fc9784454

github-actions[bot] commented 6 months ago

Uh oh! @JohnAllenTech, the image you shared is missing helpful alt text. Check your issue body.

Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image.

Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs.

github-actions[bot] commented 6 months ago

Uh oh! @JohnAllenTech, the image you shared is missing helpful alt text. Check your issue body.

Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image.

Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs.