Skip to content

Conversation

@NiceGuyIT
Copy link
Contributor

While setting up the dev environment for the first time, I ran into some issues. This PR fixes .env.example to help future developers.

  1. There was an error that the database doesn't exist. Adding POSTGRES_DB silenced the error. I don't know if this is absolutely required but it doesn't hurt.
  2. The nginx container (pulled from Docker Hub) expects CERT_PUB_KEY and CERT_PRIV_KEY to be base64 encoded
  3. While using the certs to setup a complete HTTPS environment, the frontend kept generating an error. Adding CORS_ORIGIN_WHITELIST helped along with the corresponding change in tacticalrmm-web (separate PR).

@codecov
Copy link

codecov bot commented Nov 12, 2023

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.85%. Comparing base (564aaaf) to head (2cf1c0d).
⚠️ Report is 457 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1677      +/-   ##
===========================================
- Coverage    80.93%   80.85%   -0.09%     
===========================================
  Files          136      136              
  Lines         9218     9228      +10     
===========================================
  Hits          7461     7461              
- Misses        1757     1767      +10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@NiceGuyIT NiceGuyIT marked this pull request as ready for review November 12, 2023 21:36
@wh1te909 wh1te909 requested a review from sadnub November 14, 2023 00:46
Copy link
Collaborator

@sadnub sadnub 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 to me

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.

3 participants