You are here

README.txt in DrupalGap 6

Same filename and directory in other branches
  1. 8.2 README.txt
  2. 7 README.txt
  3. 8.0.x README.txt
|===============================|
| DRUPALGAP MODULE INSTALLATION |
|===============================|

|========|
| Step 1 |
|========|

Download the DrupalGap module and upload it to your 'sites/all/modules'
directory in Drupal.

|========|
| Step 2 |
|========|

Download the modules that DrupalGap is dependant on:

  Views Datasource (http://drupal.org/project/views_datasource)
    Views JSON

  Services (http://drupal.org/project/services)
    REST Server (this module requires the SPYC library, see below for more info)
    
  Autoload (http://drupal.org/project/autoload)

Upload these modules to your 'sites/all/modules' directory.

|========|
| Step 3 |
|========|

Enable the Autoload module, and the Views JSON module that comes with the
Views Datasource module.

|========|
| Step 4 |
|========|

Before the REST Server module can be enabled, you need to download SPYC and
extract the spyc.php file so it lives here, for example:

~/www/sites/all/modules/services/servers/rest_server/lib/spyc.php

Spyc can be downloaded here: http://code.google.com/p/spyc/downloads/list

Note for advanced users, you can use the following commands to quickly take
care of the SPYC dependency for the REST Server module:

# cd ~/www/sites/all/modules/services/servers/rest_server/lib
# wget http://spyc.googlecode.com/svn/trunk/spyc.php -O spyc.php

|========|
| Step 5 |
|========|

Enable the REST Server module.

|========|
| Step 6 |
|========|

Enable the DrupalGap module.

|====================================|
| DRUPALGAP MOBILE APPLICATION SETUP |
|====================================|

Mobile Application Users
------------------------

Please download the DrupalGap mobile app from the Android marketplace. Once
installed, follow the setup wizard in the app.

https://market.android.com/details?id=com.drupalgap

Mobile Application Developers
-----------------------------

To begin developing your own mobile application with PhoneGap and DrupalGap
the following steps must be completed:

1. Download PhoneGap
(http://phonegap.com/)

2. Complete the PhoneGap Getting Started Guide for Android to create your new
Android Application in PhoneGap
(http://phonegap.com/start#android)

3. Download JQuery 1.6.4 & JQuery Mobile 1.0 to PhoneGap's assets/www directory
  a. http://code.jquery.com/jquery-1.6.4.min.js
  b. http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js
  c. http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css

4. Download DrupalGap and extract to PhoneGap's assets/www directory so
DrupalGap's JavaScript file is located at assets/www/drupalgap/drupalgap.js
(https://github.com/signalpoint/DrupalGap)

5. Run your new Android Application!

Please refer to http://tylerfrankenstein.com/drupalgap/mobile-application for
information on how to install the DrupalGap mobile application.

File

README.txt
View source
  1. |===============================|
  2. | DRUPALGAP MODULE INSTALLATION |
  3. |===============================|
  4. |========|
  5. | Step 1 |
  6. |========|
  7. Download the DrupalGap module and upload it to your 'sites/all/modules'
  8. directory in Drupal.
  9. |========|
  10. | Step 2 |
  11. |========|
  12. Download the modules that DrupalGap is dependant on:
  13. Views Datasource (http://drupal.org/project/views_datasource)
  14. Views JSON
  15. Services (http://drupal.org/project/services)
  16. REST Server (this module requires the SPYC library, see below for more info)
  17. Autoload (http://drupal.org/project/autoload)
  18. Upload these modules to your 'sites/all/modules' directory.
  19. |========|
  20. | Step 3 |
  21. |========|
  22. Enable the Autoload module, and the Views JSON module that comes with the
  23. Views Datasource module.
  24. |========|
  25. | Step 4 |
  26. |========|
  27. Before the REST Server module can be enabled, you need to download SPYC and
  28. extract the spyc.php file so it lives here, for example:
  29. ~/www/sites/all/modules/services/servers/rest_server/lib/spyc.php
  30. Spyc can be downloaded here: http://code.google.com/p/spyc/downloads/list
  31. Note for advanced users, you can use the following commands to quickly take
  32. care of the SPYC dependency for the REST Server module:
  33. # cd ~/www/sites/all/modules/services/servers/rest_server/lib
  34. # wget http://spyc.googlecode.com/svn/trunk/spyc.php -O spyc.php
  35. |========|
  36. | Step 5 |
  37. |========|
  38. Enable the REST Server module.
  39. |========|
  40. | Step 6 |
  41. |========|
  42. Enable the DrupalGap module.
  43. |====================================|
  44. | DRUPALGAP MOBILE APPLICATION SETUP |
  45. |====================================|
  46. Mobile Application Users
  47. ------------------------
  48. Please download the DrupalGap mobile app from the Android marketplace. Once
  49. installed, follow the setup wizard in the app.
  50. https://market.android.com/details?id=com.drupalgap
  51. Mobile Application Developers
  52. -----------------------------
  53. To begin developing your own mobile application with PhoneGap and DrupalGap
  54. the following steps must be completed:
  55. 1. Download PhoneGap
  56. (http://phonegap.com/)
  57. 2. Complete the PhoneGap Getting Started Guide for Android to create your new
  58. Android Application in PhoneGap
  59. (http://phonegap.com/start#android)
  60. 3. Download JQuery 1.6.4 & JQuery Mobile 1.0 to PhoneGap's assets/www directory
  61. a. http://code.jquery.com/jquery-1.6.4.min.js
  62. b. http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js
  63. c. http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css
  64. 4. Download DrupalGap and extract to PhoneGap's assets/www directory so
  65. DrupalGap's JavaScript file is located at assets/www/drupalgap/drupalgap.js
  66. (https://github.com/signalpoint/DrupalGap)
  67. 5. Run your new Android Application!
  68. Please refer to http://tylerfrankenstein.com/drupalgap/mobile-application for
  69. information on how to install the DrupalGap mobile application.