Last active
May 15, 2017 08:42
-
-
Save nimeshpahadi/82f0d964f5f2f4d4c11d97d34587c680 to your computer and use it in GitHub Desktop.
server credentials
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
# setup server blocks (virtual hosts) | |
https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-16-04?utm_source=legacy_reroute?utm_source=legacy_reroute | |
# create .env file (copy original .env file) | |
# migrate database (php artisan migrate) | |
# server credentials | |
ssh ******** | |
# enter password : | |
******** | |
ls -a | |
cat .digitalocean_password | |
# copy password | |
mysql -u root -p | |
show databases; | |
use asts_demo; | |
show tables; | |
select * from migrations; | |
# exit \q | |
# navigate to project | |
cd /var/www/asts-demo.advancegroup.com.np/html/ | |
git log (save latest commit before git pull) | |
git pull origin master | |
# migrate (php artisan migrate --seed) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment