sudo ./datafabric.sh build
sudo ./datafabric.sh initialize
sudo ./datafabric.sh start
sudo ./datafabric.sh generate_testdata 1000 200 50 1 # 1000 random_tables, 200 catalogs, 50 users, generate fake ratings
Then connect to {your_ip}:5000/
,
default account is admin/admin
Build the docker images
sudo ./datafabric.sh build
Initialize datafabric
sudo ./datafabric.sh initialize
Start the system
sudo ./datafabric.sh start
Stop the system
sudo ./datafabric.sh stop
Restart the system
sudo ./datafabric.sh restart
Enter the bash of container
sudo ./datafabric.sh bash {container_name}
View the logs of container
sudo ./datafabric.sh logs {container_name}
Enter Flask CLI
sudo ./datafabric.sh flask-cli
Enter MySQL CLI
sudo ./datafabric.sh mysql
Enter MongoDB CLI
sudo ./datafabric.sh mongo
Generate testdata
sudo ./datafabric.sh generate_testdata {n_table} {n_catalog} {n_user} {gen_rating}
# n_table: The number of test tables (Default: 1000)
# n_catalog: The number of test catalogs (Default: 200)
# n_catalog: The number of test users (Default: 50)
# gen_rating: Whether to generate rating (Default: 1)
Train recommender system
sudo ./datafabric.sh train_recommender