What happens when you have a nested directory you want to deploy i.e
./root_dir/
|__sub_dir
|__..
| ## | |
| ## How to install mcrypt in php7.2 / php7.3 | |
| ## Linux / MacOS / OSX | |
| ## | |
| ## https://lukasmestan.com/install-mcrypt-extension-in-php7-2/ | |
| # |
| #!/bin/bash | |
| MYSQL_USER="yourname" | |
| MYSQL_HOST="localhost" | |
| MYSQL_PASSWORD="yourpassword" | |
| MYSQL_DATABASES="'db_name_1' 'db_name_2' 'db_name_3'" | |
| MYSQL_BIN="$(which mysql)" | |
| MYSQLDUMP_BIN="$(which mysqldump)" | |
| STORE_FOLDER="." |
If you are learning npm then i would suggest to go for yarn, dont waste your time in learning npm
npm install -g npm
# Downgrade to a specific version
| # SSL self signed localhost for rails start to finish, no red warnings. | |
| # 1) Create your private key (any password will do, we remove it below) | |
| openssl genrsa -des3 -out server.orig.key 2048 | |
| # 2) Remove the password | |
| openssl rsa -in server.orig.key -out server.key | |