From 29e5575a0a105ffefd5c9be524fd187285654d29 Mon Sep 17 00:00:00 2001 From: Brian Kelleher Date: Thu, 24 Mar 2016 21:40:03 -0400 Subject: [PATCH] readme --- README.md | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d554a76..0cce090 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,38 @@ Wordpress development on [Vagrant](https://www.vagrantup.com/docs/installation/) ``` vagrant box add ubuntu/trusty64 +vagrant up ``` -### TODO +The above will create a local site at [http://192.168.33.60](http://192.168.33.60/) that points to the `www` folder. -1. Add Information about Vagrant. -2. \ No newline at end of file +## Development + +Development started with node v5. + +``` +cd www/wp-content/themes/ation2016 +npm install +``` + +Then use `gulp` to develop, it watches the `src/images/`, `src/styles/`, and `src/scripts/` folders and compiles their production version to the `static/` directory. + +## Syncing Media + +From local machine to remote (replacing SSHALIAS with your ssh alias or user@host): + +``` +cd uploads/directory +rsync -avz --rsh=ssh ./ SSHALIAS:/var/www/ation.develop.digitalmediauconn.org/public_html/www/wp-content/uploads +``` + +From remote to local machine (replacing SSHALIAS with your ssh alias or user@host): + +``` +cd uploads/directory +rsync -avz --rsh=ssh SSHALIAS:/var/www/ation.develop.digitalmediauconn.org/public_html/www/wp-content/uploads/* . +``` + +## Contact + +[bk@uconn.edu](mailto:bk@uconn.edu) \ No newline at end of file