delitamakanda / elearning

e-learning django app (django, python)
https://myelearning.herokuapp.com/
MIT License
148 stars 70 forks source link

how can I run your app? #5

Open bluebamus opened 5 years ago

bluebamus commented 5 years ago

after made .env file with SECRET_KEY and DEBUG, I tried to run the server. but it wasm't work on my computer. below message is about error log information. could you tell me how can I fix it?

from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager File "C:\ProgramData\Anaconda3\envs\bigdatateam\lib\site-packages\django\contr ib\auth\base_user.py", line 47, in class AbstractBaseUser(models.Model): File "C:\ProgramData\Anaconda3\envs\bigdatateam\lib\site-packages\django\db\mo dels\base.py", line 103, in new app_config = apps.get_containing_app_config(module) File "C:\ProgramData\Anaconda3\envs\bigdatateam\lib\site-packages\django\apps\ registry.py", line 252, in get_containing_app_config self.check_apps_ready() File "C:\ProgramData\Anaconda3\envs\bigdatateam\lib\site-packages\django\apps\ registry.py", line 135, in check_apps_ready raise AppRegistryNotReady("Apps aren't loaded yet.") django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.

delitamakanda commented 5 years ago

It's the GOOGLE DEVELOPER YOUTUBE API for scraping youtube videos https://console.developers.google.com/apis/library and choose YouTube Data API v3 to get your api key

bluebamus commented 5 years ago

It's the GOOGLE DEVELOPER YOUTUBE API for scraping youtube videos https://console.developers.google.com/apis/library and choose YouTube Data API v3 to get your api key

I'll do test it and share the result at here dude :) thank you so much

cubebarn commented 4 years ago

Hi, I tried setting up the application and i got this error popping up. UndefinedValueError('{} not found. Declare it as envvar or define a default value.'.format(option)) decouple.UndefinedValueError: SECRET_KEY not found. Declare it as envvar or define a default value. I know it has to do with me creating the env. Can you guide me on how to set it up..

Thanks..

delitamakanda commented 4 years ago

Hello,

the file .env strictly contain SECRET_KEY=dummy_secret_key wihout quote (single or double, space, tabs etc.

cubebarn commented 4 years ago

Thanks for the feedback.. Will work on it and get back to you asap...