forwardemail.net icon indicating copy to clipboard operation
forwardemail.net copied to clipboard

[Question] Learning basics

Open gc-ss opened this issue 3 years ago • 4 comments

Just discovered this awesome project. Questions:

  1. This repo is the frontend UI for the backend at https://github.com/forwardemail/free-email-forwarding ?

I'm attempting to self host and get the following error when deploying:

MISSING CONFIG VALUES: PAYPAL_WEBHOOK_ID, PAYPAL_ENHANCED_PLAN_30D, PAYPAL_ENHANCED_PLAN_60D, PAYPAL_ENHANCED_PLAN_90D, PAYPAL_ENHANCED_PLAN_180D, PAYPAL_ENHANCED_PLAN_1Y, PAYPAL_TEAM_PLAN_30D, PAYPAL_TEAM_PLAN_60D, PAYPAL_TEAM_PLAN_90D, PAYPAL_TEAM_PLAN_180D, PAYPAL_TEAM_PLAN_1Y, PAYPAL_CLIENT_ID, PAYPAL_SECRET, STRIPE_PUBLISHABLE_KEY, STRIPE_SECRET_KEY, STRIPE_ENDPOINT_SECRET

  1. Should I just populate these with an empty string ("") or perhaps a string like "NA" (this is for internal use only and I don't plan to resell the service/need paying customers)?
  2. Or will attempting to do so lead to failures down the line because the PAYPAL and STRIPE modules will attempt to validate these config values once the server comes up?

gc-ss avatar May 28 '22 19:05 gc-ss

same issue, can anyone help??

DhanushGowda26 avatar Sep 26 '24 08:09 DhanushGowda26

We aim to get a self-deployment guide done soon, we are in the process of merging some repos!

titanism avatar Sep 26 '24 15:09 titanism

is there atleast a docker images of this??

DhanushGowda26 avatar Oct 18 '24 12:10 DhanushGowda26

Screenshot 2024-10-18 173655 Screenshot 2024-10-18 173709

how do we overcome this, no need .env for paypal even after commentin out it still gives and what env to be used .env.default or schema

DhanushGowda26 avatar Oct 18 '24 12:10 DhanushGowda26

In order to open a PR, contributors are asked to ensure that their code changes pass unit tests. However, the unit tests can't be run locally without these values being configured. It doesn't seem like there's documentation for the expected formats/sources of these environment variables 😩

On the bright side: the ci workflow, once approved, will run the tests ♥

Lordfirespeed avatar Mar 26 '25 15:03 Lordfirespeed

@shaunwarman has a one-liner bash script you can run to install FE on your own servers

I think he's wrapping it up this week

titanism avatar Mar 26 '25 18:03 titanism

is there any updates ? I'm trying to deploy on my ubuntu server but facing the same error

node ansible-playbook ansible/playbooks/ecosystem.yml -l 'localhost'
/home/databases-staging/forwardemail.net/node_modules/.pnpm/[email protected]/node_modules/dotenv-extended/lib/index.js:59
      throw new Error('MISSING CONFIG VALUES: ' + missingKeys.join(', '));
      ^

Error: MISSING CONFIG VALUES: PAYPAL_WEBHOOK_ID, PAYPAL_ENHANCED_PLAN_30D, PAYPAL_ENHANCED_PLAN_60D, PAYPAL_ENHANCED_PLAN_90D, PAYPAL_ENHANCED_PLAN_180D, PAYPAL_ENHANCED_PLAN_1Y, PAYPAL_TEAM_PLAN_30D, PAYPAL_TEAM_PLAN_60D, PAYPAL_TEAM_PLAN_90D, PAYPAL_TEAM_PLAN_180D, PAYPAL_TEAM_PLAN_1Y, PAYPAL_CLIENT_ID, PAYPAL_SECRET, STRIPE_PUBLISHABLE_KEY, STRIPE_SECRET_KEY, STRIPE_ENDPOINT_SECRET, SRS_SECRET

Chamssiddine avatar Apr 07 '25 11:04 Chamssiddine

@Chamssiddine we just merged a PR #340, see the documentation for self hosting at this link: https://github.com/forwardemail/forwardemail.net/blob/master/app/views/self-hosted/index.md

(there's a one-liner bash command you can run now)

titanism avatar Apr 07 '25 12:04 titanism

I saw the feat branch this morning and switched to it and start making my changes to the bash script, thansk for the update and I will pull the latest changes and continue deploying email forwarder

Chamssiddine avatar Apr 07 '25 12:04 Chamssiddine

Feel free to come join us in matrix chat or open up issues with your feedback / concerns / etc.

shaunwarman avatar Apr 07 '25 13:04 shaunwarman