i am having some difficulties in running the project based on cb framework. any help? mostly how to configure docker and settings file
error when deploy:
https://build-output.heroku.com/streams/1f/1fca8e8a-bcd8-4774-85fa-164c01c89097/logs/93/9393bc65-fe73-4842-8a67-cff369e056a8.log?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIQI6BAUWXGR4S77Q%2F20210330%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210330T221407Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=5de60c7a36f53d6a2f170d3b193ad6fbb435acdbede1592833c8b142a8932a4e
Hi @sonila.mato! Welcome and thanks for posting
Your problem is unrelated to docker:
[0me[91mTraceback (most recent call last):
File "manage.py", line 21, in <module>
main()
File "manage.py", line 17, in main
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.6/dist-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.6/dist-packages/django/core/management/__init__.py", line 357, in execute
django.setup()
File "/usr/local/lib/python3.6/dist-packages/django/__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/lib/python3.6/dist-packages/django/apps/registry.py", line 114, in populate
app_config.import_models()
File "/usr/local/lib/python3.6/dist-packages/django/apps/config.py", line 211, in import_models
self.models_module = import_module(models_module_name)
File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/opt/webapp/home/models.py", line 4, in <module>
from phone_field import PhoneField
ModuleNotFoundError: No module named 'phone_field'
e[0mThe command '/bin/sh -c python3 manage.py collectstatic --no-input' returned a non-zero code: 1
Please ensure this runs locally with docker-compose
(docker-compose.yml is already included in your project) before deploying to production.
any help on how to run with docker-compose? because it says that cannot run docker-compose @dmitrii.k