Skip to content

ins429/pixgrid-dropbox

Repository files navigation

NODE ACS, photo app demo

This is a sample photo uploader web app built with Node.ACS's MVC Framework(http://nodeacs.cloud.appcelerator.com/guides/mvc). It uses ACS(https://www.appcelerator.com/cloud) as backend to store user information and photos.

Instructions:

  1. Install Node.ACS client tool (http://nodeacs.cloud.appcelerator.com/guides/quickstart)
   # sudo npm -g install acs
  1. Login with Node.ACS using your appcelerator.com developer account(free to signup)
   # acs login
  1. Create an app with Node.ACS
   # acs new pixgrid

The above command will create a folder named pixgrid under your current directly

  1. Download Pixgrid source code and copy over the contents to the newly created pixgrid directory
   # cp -r <download dir>/pixgrid/* ./pixgrid 
  1. Create an ACS app and obtain the oauth key and oauth secret

  2. Modify pixgrid/app.js line 8 to fill in the ACS credientials, and pixgrid/controllers/dropbox.js line 4 to fill in the dropbox credientials.

   ACS.init('OAUTH KEY', 'OAUTH SECRET'); // on app.js line 8
   dboxapp = dbox.app({ 'app_key': 'APP KEY', 'app_secret': 'APP SECRET' }); // on dropbox.js
  1. Test locally
   # cd pixgrid
   # acs run 

8 Publish to Node.ACS cloud

   # cd pixgrid (If you haven't done it yet)
   # acs publish 

You will get a published link and your app is running in Node.ACS cloud!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published