-
Notifications
You must be signed in to change notification settings - Fork 220
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
Installation problems #70
Comments
I have the following problem after
It this project supported now? |
@affluent-bilby-classifieds You can just comment on the |
Hello, @iColdPlayer and @affluent-bilby-classifieds How you resolved the issue. I am facing the same issue. |
You need to create .env file in the same folder where settings.py exist and keep all settings parameters there. |
Hello,
I am running Ubuntu 18.04. I am attempting to install using the following instructions:
https://opensource-job-portal.readthedocs.io/en/latest/setup/index.html
I am at step 11.
python3 manage.py migrate
I get the following output:
python3 manage.py migrate
Traceback (most recent call last):
File "manage.py", line 22, in
execute_from_command_line(sys.argv)
File "/home/classified/.local/lib/python3.6/site-packages/django/core/management/init.py", line 381, in execute_from_command_line
utility.execute()
File "/home/classified/.local/lib/python3.6/site-packages/django/core/management/init.py", line 325, in execute
settings.INSTALLED_APPS
File "/home/classified/.local/lib/python3.6/site-packages/django/conf/init.py", line 79, in getattr
self._setup(name)
File "/home/classified/.local/lib/python3.6/site-packages/django/conf/init.py", line 66, in _setup
self._wrapped = Settings(settings_module)
File "/home/classified/.local/lib/python3.6/site-packages/django/conf/init.py", line 157, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/classified/peeljobs/jobsp/settings_local.py", line 1, in
from .settings import *
File "/home/classified/peeljobs/jobsp/settings.py", line 358, in
MONGO_PORT = int(os.getenv("MONGO_PORT"))
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
I get the same problem regardless of if it's in an virtual env or not.
Any suggestions?
The text was updated successfully, but these errors were encountered: