Now we are at a good point to outsource our UI design.
This would be a good time to read about our approach to handling views in our development process.
Currently this plugin has a set of mockup files :
/assets/mockup.html: Contains the HTML mockup of the project/assets/mockup_setup.js: Contains any javascript code the UI designer needs to animate his mockup
At this point in the Sprint, I now send my UI developer the project design document, and tell him to prepare their own copy of the project:
NOTE: if your going through the tutorial, you don't need to do any of the following things. This is just what I tell our UI designer how to get started working with our mockups.
-
git clone THEIR Fork of the project
# assuming in sails directory: $ cd node_modules $ git clone https://github.com/[DeveloperAccount]/opstool-process-approval.git $ cd opstool-process-approval/ $ git checkout -b develop $ git push -u origin develop
-
and pull down a clone of the appdev-mockups project to make sure these html templates work.
$ cd assets $ git clone https://github.com/appdevdesigns/appdev-mockups.git -
Now open the
assets/mockup.htmlin a browser and verify there are no errors.
But not using Chrome! Chrome prevents local file access.