- Update mysql script with user: codeup
- Run mysql user create script (codeup): ansible-playbook ansible/mysql-user-db.yml -l digital_ocean -e "mysql_admin=true"
- Connect to server via SequelPro.
- Update mysql script to add codeup user.
- Run site create script: ansible-playbook ansible/site-create.yml -l digital_ocean -e "domain=myblog.com" --ask-sudo-pass
- Add git remote. (cd sites/blog.dev)
- Create new database (blog_db).
- update database.php config and commit.
- git push web master
- SSH into server and create .env.php
- ssh codeup@ipaddress
- cd /srv/www/myblog.com
- composer install
- php artisan migrate --seed
- add domain name to local hosts file.