934 B
REMOTE DB SETTING
make port changes in .env file to forward
use remote db with mariadb
ssh -L 13306:127.0.0.1:3306 -p 58371 root@162.55.242.190
use remote db with mongodb
ssh -L 27027:127.0.0.1:27017 -p 58371 root@162.55.242.190
importing
https://github.com/christophrumpel/laravel-import-million-rows https://github.com/spatie/simple-excel https://csv.thephpleague.com/
MONGODB model schema https://www.mongodb.com/docs/drivers/php/laravel-mongodb/v4.x/eloquent-models/schema-builder/
upsert https://medium.com/@kaamil.mirza.2002/how-i-learned-to-upsert-millions-of-documents-into-mongodb-with-minimal-overhead-8b7f9404a70c https://www.mongodb.com/docs/manual/reference/method/Bulk.find.upsert/
https://www.mongodb.com/docs/drivers/php/laravel-mongodb/current/fundamentals/write-operations/
CHART https://icehouse-ventures.github.io/laravel-chartjs/ https://www.chartjs.org/docs/latest/configuration/interactions.html