Here is a guide on how to configure environment variables for the community QA section.
Basic Configuration
- Set the
QA_MODE
environment variable todevelopment
orproduction
. - Ensure
DEBUG
is set toTrue
for development mode andFalse
for production.
- Set the
Advanced Configuration
- For database connection, set
DB_HOST
,DB_USER
,DB_PASSWORD
, andDB_NAME
. - Configure caching with
CACHE_TYPE
andCACHE_URL
.
- For database connection, set
Example
- To enable caching, you can use the following configuration:
CACHE_TYPE="memcached" CACHE_URL="memcached://localhost:11211"
- To enable caching, you can use the following configuration:
For more detailed information, please refer to our Environment Configuration Documentation.
Configuration Settings