npm.io
1.0.1 • Published 9 years ago

techify

Licence
ISC
Version
1.0.1
Deps
11
Vulns
12
Weekly
0

Steps to create a sails project out of a Google Spreadsheet

  1. Duplicate the sample bookmarklet sheet and create the tables, logic, routes and dataTypes sheets. (Todo - note down the conventions to be followed)

  2. Create a folder in the projects folder with the name [new Sheet id] and copy your client_secret.json in this folder. This is the token file downloaded from Google Developer Console for the techify project

2.a If you get - Unauthorized client error or if you have not authorized Google access before, go to Link and create your own credentials. Download and save it as client-secret_apps_script.json

  1. In the root folder run node app_creator.js [sheet id]

  2. Navigate to the [new Sheet id] folder and run the shell commands written in project_scaffolder.js

  3. Go to codebase folder within the [new Sheet id] folder and run sails lift