Listing library is a Python library for index product data from catalog, ppm, warehouse, sell, rating to elastic search
Use the package manager pip to install listing-lib.
pip install git+git+https://[email protected]/teko-vn/es-updater.git
package main | |
import ( | |
"fmt" | |
"time" | |
"google.golang.org/cloud/storage" | |
) | |
const ( |
-- Create a group | |
CREATE ROLE readaccess; | |
-- Grant access to existing tables | |
GRANT USAGE ON SCHEMA public TO readaccess; | |
GRANT SELECT ON ALL TABLES IN SCHEMA public TO readaccess; | |
-- Grant access to future tables | |
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO readaccess; |
# | |
# CORS header support | |
# | |
# One way to use this is by placing it into a file called "cors_support" | |
# under your Nginx configuration directory and placing the following | |
# statement inside your **location** block(s): | |
# | |
# include cors_support; | |
# | |
# As of Nginx 1.7.5, add_header supports an "always" parameter which |
Listing library is a Python library for index product data from catalog, ppm, warehouse, sell, rating to elastic search
Use the package manager pip to install listing-lib.
pip install git+git+https://[email protected]/teko-vn/es-updater.git