- Launch sandbox on simplytest.me
- Login (admin/ admin)
- clear cache via
/admin/config/development/performance
(as file upload is disabled by default) - Navigate to
/restful-example/form
- Get a clean Drupal installation with a "standard" profile (i.e. the
Article
content type is present) - (temporary) Get RESTful and Entity API patches
- Enable module and download Angular related libraries and navigate to
restful-example/form
# Enable uploading files for authenticated users.
drush vset restful_file_upload 1
drush cc menu
# cd into the example module and install node/ bower packages
cd `drush drupal-directory restful_angular_example`
cd components/restful-app
npm install
bower install
The RESTful resource is here, and the Entity-Validator handler is here.
Note that if you change the Angular script under /components/restful-app/src
you will need to grunt build
. If you don't have grunt installed install it by running npm install -g grunt-cli
.