MicroPyramid / Django-CRM

Open Source CRM based on Django
https://bottlecrm.io
MIT License
1.93k stars 882 forks source link

Make local dev work #523

Open codecakes opened 6 months ago

codecakes commented 6 months ago

Update: This PR attempts to address issue #525

Upon following the installation and local development guide on README, there were issues running docker compose on local *nix/mac platform.

Given the following instance of a .env file, the backend localhost for dev works for a local docker like cmd such as podman compose -f docker/docker-compose.yml up --build --wait


# Environment variables

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

# AWS
AWS_BUCKET_NAME=""

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

# DB
DBNAME="crm"
DBUSER="crm"
DBPASSWORD="crm"
DBHOST="localhost"
DBPORT="5432"

# Sentry
SENTRY_DSN=""

# Celery
CELERY_BROKER_URL="redis://redis-bottlecrm:6379/0"
CELERY_RESULT_BACKEND="db+sqlite:///results.db"

# Swagger
SWAGGER_ROOT_URL=""

#CACHES
MEMCACHELOCATION=""

# Email
DEFAULT_FROM_EMAIL=""
ADMIN_EMAIL=""