fbdevelopercircles / open-source-edu-bot

Open Source Education bot, built by the Developer Circles community.
MIT License
59 stars 79 forks source link

fix: ModuleNotFoundError : no module named 'fbosbot' #71

Closed PrashanthPuneriya closed 4 years ago

PrashanthPuneriya commented 4 years ago

Is your pull request related to a problem? Please describe

Flask couldn't find the module fbosbot because we are exporting the environment variables in the wrong directory. This PR fixes #58, fixes #61, fixes #51

Describe the solution you'd like

Move the .env file into the src folder i.e; the root directory of the project.

Additional context

This PR also removes the redundant exporting of environment variables which is already done by .env file.

Checklist

elinguiuriel commented 4 years ago

Look great thanks a lot 🥇

PrashanthPuneriya commented 4 years ago

@elinguiuriel Happy to help :)