This file contains hidden or 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
https://gist.github.com/odan/1abe76d373a9cbb15bed |
This file contains hidden or 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
http://developed.be/2014/08/29/composer-dump-autoload-laravel/ |
This file contains hidden or 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
https://stackoverflow.com/questions/5920136/mysql-is-not-recognised-as-an-internal-or-external-command-operable-program-or-b |
This file contains hidden or 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
.env | |
MAIL_DRIVER=smtp | |
MAIL_HOST=smtp.gmail.com | |
MAIL_PORT=587 | |
[email protected] | |
MAIL_PASSWORD= App password for 2-step verification | |
MAIL_ENCRYPTION=tls | |
[email protected] |
This file contains hidden or 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
var app = require('express')(); | |
var fs = require('fs'); | |
var options = { | |
key: fs.readFileSync('/etc/nginx/ssl/name.key'), | |
cert: fs.readFileSync('/etc/nginx/ssl/name.crt'), | |
ca: fs.readFileSync('/etc/nginx/ssl/name.crt') | |
}; | |
var server = require('https').Server(options, app); | |
var io = require('socket.io')(server); |
This file contains hidden or 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
Setting up a node server with nginx. | |
https://medium.com/@utkarsh_verma/configure-nginx-as-a-web-server-and-reverse-proxy-for-nodejs-application-on-aws-ubuntu-16-04-server-872922e21d38 |
This file contains hidden or 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
The port is running already it can be check through netstat -a. | |
But openning in browser refuses the connection. | |
This is due to firewall blocking the port, It needs to be allowed. | |
Check all port allowed by firewall: | |
sudo ufw status | |
Allow a port | |
sudo ufw allow 8890 | |
https://askubuntu.com/questions/166068/port-seems-to-be-open-but-connection-refused |
This file contains hidden or 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
git clone https://github.com/..... | |
git add index.html - adding the file for commit. | |
git status - checks the changes | |
git commit -m "added index.html" | |
git push - will sync it to your repository | |
git pull - pulling down the github files to your working directory. | |
git reset <file or dir> - reset add | |
git reset - reset all add |
This file contains hidden or 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
https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-16-04 | |
https://askubuntu.com/questions/851847/how-to-enable-and-disable-php7-modules-in-linux-server-16-4 | |
https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-with-nginx-on-an-ubuntu-14-04-server |
This file contains hidden or 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
https://www.rosehosting.com/blog/install-laravel-on-ubuntu-16-04/ | |
How to fix Error: laravel.log could not be opened? | |
sudo chmod -R 777 storage |