Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environment File Not Being Found #7

Open
AbbasSrour opened this issue Feb 16, 2023 · 1 comment
Open

Environment File Not Being Found #7

AbbasSrour opened this issue Feb 16, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@AbbasSrour
Copy link

I know this is mostly not specifically related to djcompiler, but I thought I'd give it a try, after compiling the django backend that has an .env file in the main app directory (the one that contains the settings) it outputs that it didn't find the .env file in the terminal, and when running the server it doesn't seem to read the environment variables from the file even though I copied the .env to the build directory. Can you confirm if this is an error on my side or on the side of cython?

@abdoohossamm
Copy link
Owner

it should work if you have .env file in required files in .djcompiler file or djcompiler.py depends on if you use .djcompiler file or py file please share more details about that like the .djcompiler and the files in the build directory.

@abdoohossamm abdoohossamm added the bug Something isn't working label Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants