mylk/ojah

build error

Opened this issue · 0 comments

after runing make init

/manage.py migrate
Traceback (most recent call last):
File "./manage.py", line 22, in
execute_from_command_line(sys.argv)
File "/home/hamed/.local/lib/python3.8/site-packages/django/core/management/init.py", line 425, in execute_from_command_line
utility.execute()
File "/home/hamed/.local/lib/python3.8/site-packages/django/core/management/init.py", line 369, in execute
settings.INSTALLED_APPS
File "/home/hamed/.local/lib/python3.8/site-packages/django/conf/init.py", line 84, in getattr
self._setup(name)
File "/home/hamed/.local/lib/python3.8/site-packages/django/conf/init.py", line 71, in _setup
self._wrapped = Settings(settings_module)
File "/home/hamed/.local/lib/python3.8/site-packages/django/conf/init.py", line 179, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 848, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/hamed/ojah/ojah/ojah/settings.py", line 86, in
'NAME': os.environ['MYSQL_DATABASE'],
File "/usr/lib/python3.8/os.py", line 675, in getitem
raise KeyError(key) from None
KeyError: 'MYSQL_DATABASE'
make: *** [Makefile:21: init] Error 1