This repository was archived by the owner on Oct 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.env
More file actions
34 lines (27 loc) · 1.31 KB
/
sample.env
File metadata and controls
34 lines (27 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# go to https://djecrety.ir for generating secret key or use this command in the python shell
# >>> from django.core.management.utils import get_random_secret_key
# >>> get_random_secret_key()
# your secret key
# Then, you can copy secret-key-value and put it below here
SECRET_KEY=secret-key-value-without-quotes
# set DEBUG to True for testing, False for actual use
DEBUG=True
# set ALLOWED_HOSTS to your domain name
ALLOWED_HOSTS=localhost, 127.0.0.1
# set TIME_ZONE to your local timezone
TIME_ZONE=Asia/Bangkok
# get omise public key and secret key from https://dashboard.omise.co/test/keys
OMISE_PUBLIC=your-omise-public-key
OMISE_SECRET=your-omise-secret-key
# If you want to use email of host set to True
USER_EMAIL_HOST = False
# In case you use email host. Set the email and password. If you set USER_EMAIL_HOST=False no need to set these two line below
# the email you want to use for sending emails
EMAIL_HOST_USER=your-host-email
# get email host password via here https://support.google.com/accounts/answer/185833?hl=en
EMAIL_HOST_PASSWORD=your-host-email-password
# cloudinary for image upload
# you may get cloud name, api key and api secret from https://cloudinary.com/console
CLOUDINARY_CLOUD_NAME=your-cloudinary-cloud-name
CLOUDINARY_API_KEY=your-cloudinary-api-key
CLOUDINARY_API_SECRET=your-cloudinary-api-secret