Skip to content

Instantly share code, notes, and snippets.

@nimeshpahadi
Last active May 15, 2017 08:42
Show Gist options
  • Save nimeshpahadi/82f0d964f5f2f4d4c11d97d34587c680 to your computer and use it in GitHub Desktop.
Save nimeshpahadi/82f0d964f5f2f4d4c11d97d34587c680 to your computer and use it in GitHub Desktop.
server credentials
# 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