This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Open → config/database.php & Search for 'mysql' | |
2. Add new Mysql Connection like below (Laravel 5.6) → | |
'mysql_2' => [ | |
'driver' => 'mysql', | |
'host' => env('DB_HOST', '127.0.0.1'), | |
'port' => env('DB_PORT', '3306'), | |
'database' => 'dbName', | |
'username' => 'Username', | |
'password' => 'Pass', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ref URL → https://laravel-excel.maatwebsite.nl/docs/3.0/getting-started/installation | |
# Run the command in CLI → | |
composer require maatwebsite/excel | |
# Add the ServiceProvider in app/config/app.php → | |
'providers' => | |
[ | |
Maatwebsite\Excel\ExcelServiceProvider::class, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RefURL → https://medium.com/@Web_Bailey/deploy-a-vuejs-app-with-digitalocean-fd6e7af07e40 | |
# Deploy your project via GIT or something on the server | |
# Go to the project Directory | |
# Run → npm install | |
# Run → npm run build | |
→ This command will Create a 'dist' folder. | |
# Go to path → /etc/httpd/conf | |
→ Add :: | |
LISTEN 8855 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add | |
→ Go to path :: ProjectName\public\index.php | |
→ header("Access-Control-Allow-Origin: *"); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
::: RefUrl → https://vuejs.org/v2/cookbook/adding-instance-properties.html#Base-Example | |
::: Set Global instance in index.js (src/router) | |
→ Vue.prototype.$VariableName = Value; | |
→ Example : Vue.prototype.$_serverName = window.location.hostname; | |
→ $ is a convention Vue uses for properties that are available to all instances. | |
::: Access it from any Vue Components | |
→ export default { | |
created:function () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
::: Create A project with vue clI | |
::: Download Amchart JS file's from this URL | |
→ https://www.amcharts.com/download/ | |
::: Extract in | |
→ vueProjectName/static/ | |
::: Include All Js Files in the vueProjectName/index.HTML file | |
// **Path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
::: RefUrl for Dataloader → https://github.com/amcharts/dataloader | |
::: We are using "dataLoader" to load the data on Amchart. | |
::: Dataloader Function → | |
"dataLoader": { | |
"url": 'GraphUrl', | |
"format": "json", | |
"init": function ( options, chart ) { | |
console.log( 'Loading started' ); | |
}, | |
"load": function ( options, chart ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"graphs": [{ | |
"labelText": "[[value]]" | |
}], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"categoryAxis": { | |
"autoGridCount":false, | |
"gridPosition": "start", | |
"labelRotation": 90, | |
"autoWrap":true, | |
"gridCount":1000 | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"titles": [ | |
{ | |
"text": "Name", | |
"size": 14, | |
"alpha":1, | |
"color" : "#3f51b5" | |
} | |
] |
OlderNewer