keytool -genkey -v -keystore debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000
## native_modules.gradle
def command = "yarn --silent react-native config"
[email protected]:unicode-corporate/demo.git
cd demo
cd app
cp .sequelizerc.sample .sequelizerc
vi .env
npm i
NODE_ENV=production pm2 start index.js
docker restart $(docker ps -a -q)
default_timezone = Asia/Bangkok | |
load_examples = False |
# airflow needs a home, ~/airflow is the default, | |
# but you can lay foundation somewhere else if you prefer | |
# (optional) | |
export AIRFLOW_HOME=~/airflow | |
# install from pypi using pip | |
pip install apache-airflow | |
# initialize the database | |
airflow initdb |
``` | |
php bin/magento setup:upgrade | |
php bin/magento setup:di:compile | |
php bin/magento deploy:mode:set production | |
chown -Rf www-data:www-data * | |
php bin/magento cache:enable | |
``` |
# for development
pm2 start npm --name "next" -- run dev
# for production
npm run build
pm2 start npm --name "next" -- start
``` | |
grep -r "Report ID: webapi-5d91a1e38520a" var/ | |
``` |
``` | |
SET FOREIGN_KEY_CHECKS = 0; | |
TRUNCATE TABLE `catalog_category_entity`; | |
TRUNCATE TABLE `catalog_category_entity_datetime`; | |
TRUNCATE TABLE `catalog_category_entity_decimal`; | |
TRUNCATE TABLE `catalog_category_entity_int`; | |
TRUNCATE TABLE `catalog_category_entity_text`; | |
TRUNCATE TABLE `catalog_category_entity_varchar`; | |
TRUNCATE TABLE `catalog_category_product`; | |
TRUNCATE TABLE `catalog_category_product_index`; |