WordPress theme for Upstatement.com
cd ~/Sites
git clone [email protected]:Upstatement/blades.git
After it has downloaded, navigate inside the directory and run the setup script
cd blades
sh vvv-setup.sh
Note: If you used the setup script, this step may not be necessary
vagrant ssh
cd /srv/www/wordpress-blades/wp-content/themes/blades
composer update
When asked for what setup (nginx or apache) enter nginx
- Connect to your local database. Open up Sequel Pro. Connect to your database using this info
- SSH button
- MySQL Host:
127.0.0.1 - Username:
root - Password:
root - SSH Host:
192.168.50.48(this may be different on your machine, check the hosts file (which you can access in Chrome via file:///etc/hosts) and look for different IP address. Try those if this doesn't work for you) - SSH User:
vagrant - SSH Password:
vagrant
- Import a copy of the current database dump.
- In Sequel Pro, click the
Choose Databasedropdown button in the upper left corner - Choose
wordpress_blades - Hit
Shift+Command+Ior go toFile > Import - Choose the database dump on Dropbox:
Dropbox/Upstatement Team Folder/Website/DB - And you're done!
- In Sequel Pro, click the
What's a website without images? The uploads directory is located in Dropbox/Upstatement Team Folder/Website/uploads COPY (don't move) it to your uploads directory through finder: ~/Sites/blades_env/www/wordpress-blades/wp-content/uploads
- Navigate to the theme folder in Terminal (
Sites/blades) - Run
bower install