62 lines
3.8 KiB
Bash
62 lines
3.8 KiB
Bash
DB_USERNAME=Username for the database
|
|
DB_PASSWORD=Password for the database
|
|
DB_NAME=Database name
|
|
DB_PORT=Database port
|
|
|
|
SEQUELIZE_LOGGING=0- no sequelize logging, 1- log to the console
|
|
|
|
PORT=Port for the app, defaults to 5000
|
|
APP_BASE_URL=base url for the app
|
|
|
|
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
|
|
|
|
#=============== GOOGLE ANALYTICS =============#
|
|
GA_ID=Google Analytics ID
|
|
|
|
#=============== GOOGLE MAPS =============#
|
|
API_MAP_KEY=(your-key-here)
|
|
|
|
#=============== AWS SDK EMAIL SETTINGS =======#
|
|
AWS_KEY_ID=(your-key-here)
|
|
AWS_SECRET_ACCESS_KEY=(your-key-here)
|
|
AWS_REGION=eu-west-1
|
|
SOURCE_EMAIL=info@saburly.com
|
|
|
|
#=============== CRAWLER SETTINGS===============#
|
|
CRAWLER_INTERVAL=Interval to run cralwer(s), in seconds
|
|
STOP_CRAWLER=Non-zero value will skip crawler execution
|
|
PRINT_CRAWLER_DEBUG_INFO=Non-zero value will print crawler debugging info to the server console
|
|
#==OLX==
|
|
OLX_MAX_PAGES=Restrict crawler to this number of pages
|
|
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
|
|
OLX_IGNORED_USERNAMES=comma separated list of usernames to ignore
|
|
OLX_DELAY_BETWEEN_PAGES=time in miliseconds to wait before indexing next page
|
|
OLX_FORCE_CRAWL=Non-zero value will force crawler to crawl all pages without stopping when known real estate is found
|
|
#==RENTAL==
|
|
RENTAL_MAX_PAGES=Restrict crawler to this number of pages
|
|
RENTAL_MAX_RESULTS_PER_PAGE=Only this number or less results from one page will be scraped and saved
|
|
RENTAL_CRAWLER_AD_TYPE=enum name of what type of ads should be crawled, check common/enums.js file for valid values
|
|
RENTAL_CRAWLER_AD_CATEGORIES=comma separated list of enum names of categories to be included, check common/enums.js file for valid values
|
|
RENTAL_IGNORED_USERNAMES=!!! This is not used for rental crawler !!!
|
|
RENTAL_DELAY_BETWEEN_PAGES=time in miliseconds to wait before indexing next page
|
|
RENTAL_FORCE_CRAWL=Non-zero value will force crawler to crawl all pages without stopping when known real estate is found
|
|
#==PROSTOR==
|
|
PROSTOR_MAX_PAGES=!!! This is not used for prostor crawler !!!
|
|
PROSTOR_MAX_RESULTS_PER_PAGE=For Prostor crawler, this represents how many ads are crawled at once
|
|
PROSTOR_CRAWLER_AD_TYPE=enum name of what type of ads should be crawled, check common/enums.js file for valid values
|
|
PROSTOR_CRAWLER_AD_CATEGORIES=comma separated list of enum names of categories to be included, check common/enums.js file for valid values
|
|
PROSTOR_IGNORED_USERNAMES=!!! This is not used for prostor crawler !!!
|
|
PROSTOR_DELAY_BETWEEN_PAGES=!!! This is not used for prostor crawler !!!
|
|
PROSTOR_FORCE_CRAWL=Non-zero value will force crawler to crawl all pages without stopping when known real estate is found
|
|
#==AKTIDO==
|
|
AKTIDO_MAX_PAGES=Restrict crawler to this number of pages
|
|
AKTIDO_MAX_RESULTS_PER_PAGE=Only this number or less results from one page will be scraped and saved
|
|
AKTIDO_CRAWLER_AD_TYPE=enum name of what type of ads should be crawled, check common/enums.js file for valid values
|
|
AKTIDO_CRAWLER_AD_CATEGORIES=comma separated list of enum names of categories to be included, check common/enums.js file for valid values
|
|
AKTIDO_IGNORED_USERNAMES=!!! This is not used for aktido crawler !!!
|
|
AKTIDO_DELAY_BETWEEN_PAGES=time in miliseconds to wait before indexing next page
|
|
AKTIDO_FORCE_CRAWL=Non-zero value will force crawler to crawl all pages without stopping when known real estate is found
|