Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bak11004 committed Mar 25, 2016
1 parent fb55c02 commit 29e5575
Showing 1 changed file with 32 additions and 3 deletions.
35 changes: 32 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
## 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)

0 comments on commit 29e5575

Please sign in to comment.