Skip to content

Run the Djrango-CRM on windows using virtual environment #519

Open
@semrade

Description

@semrade

Hello,
I am trying to execute the project on Windows 10 using virtual env. I am not a web developer and I need your hint to solve my issue.
this is the .env file I am using.
`

Environment variables

SECRET_KEY="mco934$@)NHUYTC%6789"
ENV_TYPE="dev"
DOMAIN_NAME=""

AWS

AWS_BUCKET_NAME=""

AWS_ACCESS_KEY_ID=""
AWS_SECRET_ACCESS_KEY=""
AWS_SES_REGION_NAME=""
AWS_SES_REGION_ENDPOINT=""

DB

DBNAME="bottlecrm"
DBUSER="postgres"
DBPASSWORD="root"
DBHOST="localhost"
DBPORT="5432"

Sentry

SENTRY_DSN=""

Celery

CELERY_BROKER_URL=""
CELERY_RESULT_BACKEND=""

Swagger

SWAGGER_ROOT_URL=""

#CACHES
MEMCACHELOCATION=""

Email

DEFAULT_FROM_EMAIL="[email protected]"
ADMIN_EMAIL="[email protected]"
when I run thepython manage.py makemigrations` I have this message error:

File "D:\30_Django-CRM\Django-CRM\venv\Lib\site-packages\psycopg2_init_.py", line 122, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 103: invalid continuation byte
(venv) PS D:\30_Django-CRM\Django-CRM> python manage.py makemigrations

could help me please to run the project?
I am available to answer or provide more information if needed.
thank you in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions