Where can I find the .env for installed Phanpy?

What app is this about, and its version: Phanpy 20251009~ynh1
What YunoHost version are you running: 12.1.27 (stable)
What type of hardware are you using: VPS bought online

Describe your issue

I want to add Giphy API code to my Phanpy installation. When I read the docs for Phanpy it tells me to add a line of code to the .env of the installation (PHANPY_GIPHY_API_KEY).

Where can I find the .env file of a yunohost Phanpy installation?
Logged in as user ‘phanpy’, I do not see the .env file in /var/www/phanpy, where else could it be?
Thanks!

(ps: tag “phanpy” does not seems to exist in the tag-dropdown)

Share relevant logs or error messages

(no logs to share)

Did you try to create it? With the correct ownership

1 Like

I had not thought of that, thanks!
Going to try now :slight_smile:

when you install phanpy_ynh you are installing phanpy «the easy way»; if you want to use .env variables you have to install using «custom build way» as described in the documentation:

and then host that build using my_webapp (ie)

@leonieke

1 Like

Thanks, that makes sense, I had not considered this. :+1:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.