2019-09-05 12:51:01 +02:00
|
|
|
DB_USERNAME=Username for the database
|
|
|
|
|
DB_PASSWORD=Password for the database
|
|
|
|
|
DB_NAME=Database name
|
|
|
|
|
DB_PORT=Database port
|
|
|
|
|
|
2019-09-05 13:50:13 +02:00
|
|
|
SEQUELIZE_LOGGING=0- no sequelize logging, 1- log to the console
|
|
|
|
|
|
2019-09-11 11:23:05 +02:00
|
|
|
PORT=Port for the app, defaults to 5000
|
2019-09-05 14:24:29 +02:00
|
|
|
APP_BASE_URL=base url for the app
|
|
|
|
|
|
2019-10-07 20:49:54 +02:00
|
|
|
MAX_REAL_ESTATES_IN_EMAIL=Max number of real estates that will be shown in email, others will be truncated and URL with full list will be shwon
|
|
|
|
|
MAX_REAL_ESTATES_IN_FIRST_EMAIL=Max number of real estates that will be shown in first (welcome) email
|
2019-09-30 09:44:19 +02:00
|
|
|
|
|
|
|
|
AWS_KEY_ID=(your-key-here)
|
|
|
|
|
AWS_SECRET_ACCESS_KEY=(your-key-here)
|
|
|
|
|
AWS_REGION=eu-west-1
|
|
|
|
|
|
2019-09-05 12:51:01 +02:00
|
|
|
APP_URL=http://localhost:3001
|
|
|
|
|
SOURCE_EMAIL=info@saburly.com
|
2019-09-18 15:33:09 +02:00
|
|
|
|
2019-09-26 17:30:06 +02:00
|
|
|
CRAWLER_INTERVAL=Interval to run cralwer(s), in seconds
|
2019-09-26 23:55:34 +02:00
|
|
|
STOP_CRAWLER=Non-zero value will skip crawler execution
|
2019-09-26 17:30:06 +02:00
|
|
|
|
2019-09-18 15:33:09 +02:00
|
|
|
#=============== CRAWLER SETTINGS===============#
|
|
|
|
|
#==OLX==
|
2019-09-23 10:46:31 +02:00
|
|
|
OLX_MAX_PAGES=Restrict crawler to this number of pages
|
2019-09-18 15:33:09 +02:00
|
|
|
OLX_MAX_RESULTS_PER_PAGE=Only this number or less results from one page will be scraped and saved
|
|
|
|
|
OLX_CRAWLER_AD_TYPE=enum name of what type of ads should be crawled, check common/enums.js file for valid values
|
|
|
|
|
OLX_CRAWLER_AD_CATEGORIES=comma separated list of enum names of categories to be included, check common/enums.js file for valid values
|
2019-09-25 08:31:37 +02:00
|
|
|
OLX_IGNORED_USERNAMES=comma separated list of usernames to ignore
|
|
|
|
|
OLX_DELAY_BETWEEN_PAGES=time in miliseconds to wait before indexing next page
|