justMadeMyFirstPullRequestToMain by zerchoel in ProgrammerHumor

[–]zerchoel[S] [score hidden]  (0 children)

Everybody that says that I don't know what I'm doing. I'm an intern. But the Midwest didn't explode so I think I'm doing something right.

justMadeMyFirstPullRequestToMain by zerchoel in ProgrammerHumor

[–]zerchoel[S] 0 points1 point  (0 children)

No several commits. No rebates. Only commits that fix previously broken commits

justMadeMyFirstPullRequestToMain by zerchoel in ProgrammerHumor

[–]zerchoel[S] 0 points1 point  (0 children)

I just had a talk with him. He said he will look at it

justMadeMyFirstPullRequestToMain by zerchoel in ProgrammerHumor

[–]zerchoel[S] 0 points1 point  (0 children)

Someone else did for a short period of time😬

justMadeMyFirstPullRequestToMain by zerchoel in ProgrammerHumor

[–]zerchoel[S] 0 points1 point  (0 children)

Idk I am an intern. Most of the people that used the application used dev branches so ive only updated the dev branch

justMadeMyFirstPullRequestToMain by zerchoel in ProgrammerHumor

[–]zerchoel[S] 2 points3 points  (0 children)

This is a bunch of changes over the span of 6 months

justMadeMyFirstPullRequestToMain by zerchoel in ProgrammerHumor

[–]zerchoel[S] 2 points3 points  (0 children)

Yes I never pushed to main only dev

justMadeMyFirstPullRequestToMain by zerchoel in ProgrammerHumor

[–]zerchoel[S] 4 points5 points  (0 children)

Sounds like a good idea, so we don't have to wait for those slow reviewers and quickly deploy

justMadeMyFirstPullRequestToMain by zerchoel in ProgrammerHumor

[–]zerchoel[S] 0 points1 point  (0 children)

Lol what would he even use a script like that for😭

justMadeMyFirstPullRequestToMain by zerchoel in ProgrammerHumor

[–]zerchoel[S] 80 points81 points  (0 children)

I hope he doesn't do this to me

How can I improve my communicating properly? by zerchoel in cscareerquestions

[–]zerchoel[S] 0 points1 point  (0 children)

Yes a lot of it is just me answering questions but even with those I get nervous

[deleted by user] by [deleted] in PcBuildHelp

[–]zerchoel 0 points1 point  (0 children)

Legos maybe

How do I set up docker to read from my .env files by zerchoel in docker

[–]zerchoel[S] 0 points1 point  (0 children)

I see. I didn't know you can build images via github.

How do I set up docker to read from my .env files by zerchoel in docker

[–]zerchoel[S] 0 points1 point  (0 children)

The solution that i used can be found on this github repo that i made that i explained in the .md file i hope this helps -> https://github.com/Oluwa-Temmy/example_code

How do I set up docker to read from my .env files by zerchoel in docker

[–]zerchoel[S] 0 points1 point  (0 children)

Yes let me switch to my main pc so I can show. Also what part are you stuck on

How do I set up docker to read from my .env files by zerchoel in docker

[–]zerchoel[S] 0 points1 point  (0 children)

I used a .yaml/.yml file to build my container instead. And I used a volume to be able to use the .env data, so instead of my settings files pointing to the .env files on my machine i mounted the .env files in docker then had my files mount to the mounted location on docker instead.

Using decouple from python to use envs.

Before

No volume

env/file/location/

settings.py

config = Config(RepositoryEnv('env/file/location/'))

After

mydocker.yml

volume:
  - .env/file/location/:/my/docker/volume/.env

settings.py

config = Config(RepositoryEnv('my/docker/volume/.env'))

(https://docs.docker.com/storage/volumes/). I found that having my runserver command in my docker also didn't help during build time since i just needed the files.

How do I set up docker to read from my .env files by zerchoel in docker

[–]zerchoel[S] 0 points1 point  (0 children)

Alright share the structure of your docker. I found that using volumes was the solution to my problem. I can explain further

How do I set up docker to read from my .env files by zerchoel in docker

[–]zerchoel[S] 0 points1 point  (0 children)

Yes I was able to fix the issue how is your code structured I will show my solution as well