IRC log of #novawebdev for Saturday, 2025-12-27

anthony_p has quit (Ping timeout: 480 seconds)08:01
zOnnyThomas and I had a productive weekend making excellent progress on moving Novawebdev to the Mayfirst platform. This weekend, we’re looking forward to enhancing our home website while we gain more experience with the Django framework. No Blockers.12:07
zOnnyACTION done12:07
zOnnyGood morning gabriel_jetro 12:07
gabriel_jetro has quit (Quit: Connection closed for inactivity)14:15
gabriel_jetro has quit (Quit: Connection closed for inactivity)17:42
thomasboimahHi zOnny, I thought you said that you will not be here this weekend?17:45
thomasboimahzOnny, are you still here17:51
thomasboimah?17:51
zOnnyHi thomas17:59
zOnnyno worries17:59
zOnnyI think there was a misunderstanding18:00
thomasboimahAhh okay18:00
zOnnyI said, I will let you know if I'm not be able to make it 18:00
zOnnyIt is all good18:01
thomasboimahAhh okay, I misunderstand that18:01
zOnnyI was trying to make the env variables to work18:01
zOnnybut it seems that we will need mayfirst help on this18:02
zOnnyI really want the env variables to work in the settings18:02
zOnnyit is very important to not override it18:03
zOnnyWe need to have a clear guidance from them and see what we need to do18:03
zOnnyI tried so many  ways 18:04
thomasboimahAre you talking about the .env file18:04
thomasboimah?18:04
zOnnyyes18:04
zOnnybut we are not using .env anymore18:04
zOnnyI think that way is a little bit deprecated18:04
zOnnyif you go to novawebdev CP18:05
zOnnyand see the web configuration18:05
zOnnyThere is a way to make apache read the variables18:06
zOnnyIt seems we are being block on that feature18:06
thomasboimahBut i use the .env file for the email set up: EMAIL_HOST = os.getenv("LO_EMAIL_HOST", "mail.mayfirst.org")18:07
thomasboimahEMAIL_PORT = 58718:07
thomasboimahEMAIL_USE_TLS = True18:07
thomasboimahEMAIL_USE_SSL = False18:07
thomasboimahEMAIL_HOST_USER = os.getenv("LO_EMAIL_HOST_USER")18:07
thomasboimahEMAIL_HOST_PASSWORD = os.getenv("LO_EMAIL_HOST_PASSWORD", "")18:07
thomasboimahDEFAULT_FROM_EMAIL = "Secosol <do-not-reply@secosol.us>"18:07
thomasboimahSERVER_EMAIL = "Secosol <do-not-reply@secosol.us>"18:07
zOnnyis that working with .env?18:07
thomasboimahyes18:07
zOnnywhat did you change?18:08
thomasboimahNothing i just load the .env file in the setting and use it18:09
zOnnywaht do you mean by load18:09
zOnnydid you executed a command?18:09
thomasboimahfrom dotenv import load_dotenv18:09
zOnnyin the seetings?18:10
thomasboimahyes18:10
zOnnyI see18:10
zOnnyI will look into it18:10
thomasboimahI install the python package dotenv18:11
zOnnyright18:11
zOnnyI'm aware of that package18:11
thomasboimahand load it in the setting to be able to use the .env file18:11
zOnnyhow about the DB?18:11
zOnnyare you retrieving it with .env?18:12
zOnnyor it is still hard-coded18:12
thomasboimahit is using the .env file too18:12
thomasboimahBut for novaweb it dose not have the .env file18:14
zOnnyIt doesn't18:14
thomasboimahI guess we can touch .env file and put in the info we want to use and load it in the settings.py and use it18:15
thomasboimahif any only if we want it for novaweb18:16
thomasboimah*and*18:16
zOnnyhere is what I found18:17
zOnnyProduction: prefer real environment variables managed by the process manager or web server (systemd, Apache SetEnv, Docker/K8s secrets). They’re less likely to leak, don’t rely on a file on disk, and fit infra tooling/secret stores.18:18
zOnnyLocal dev: a .env file (git‑ignored) + loader (e.g., python-dotenv/django-environ) is convenient for developers and easy to share defaults without secrets.18:18
zOnnyShared hosting: if the host provides a way to set env vars in the panel/vhost, use that; otherwise a .env is fine but protect file perms.18:19
zOnnySo: system/user env vars for production; .env for local/dev convenience.18:19
thomasboimah has quit (Remote host closed the connection)18:20
zOnnyafter all I think the .env is still good to work it18:21
thomasboimahsorry my connection drop18:23
thomasboimahACTION going to read the log18:23
thomasboimahyep18:25
thomasboimah has quit (Ping timeout: 480 seconds)18:35
thomasboimahsorry for the disconnection18:36
zOnny has quit (Remote host closed the connection)18:39
zOnnyall good18:40
zOnnyI'm going to step away for now18:40
zOnnyI will into secosol18:40
thomasboimahOKay18:40
zOnnysee you tomorrow?18:40
thomasboimahOkay have a nice day18:41
zOnnyor you want to take the day off?18:41
zOnnythere isn't much to do from our meeting18:41
thomasboimahI'm Okay with anything you want zOnny 18:41
zOnnyWill let you know once I arrive home18:42
thomasboimahOkay18:42
zOnnyI will send you an email about our meeting tomorrow18:42
thomasboimahOkay have a nice day,18:42
zOnnyif you don't see anything it means we are meeting at the same time18:42
thomasboimahAlright18:42
zOnnysee you18:42
zOnnyACTION signs off18:43
zOnny has quit (None)18:43
thomasboimahACTION signs off18:43
thomasboimah has quit (Quit: Leaving)18:43

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!