Skip to content

Commit 076223b

Browse files
committed
Add Matt's blog post
1 parent 923c1b7 commit 076223b

File tree

2 files changed

+13
-20
lines changed

2 files changed

+13
-20
lines changed

README.md

+12-19
Original file line numberDiff line numberDiff line change
@@ -30,35 +30,35 @@ You can do this one of two ways:
3030
1. In the menu that appears, choose `Other` for the `Application type`.
3131
1. Give it any name you like and click `Create`.
3232
1. Finally, download your credentials using the `Download as JSON` button to the right.
33-
- Save these credentials to a location of your choosing; `~/Downloads` is fine.
33+
* Save these credentials to a location of your choosing; `~/Downloads` is fine.
3434
1. You may close the Developer Console window.
3535

3636
#### 1.2 Independent Developer Console Project
3737

3838
1. Create a new Dev Console Project
3939
1. Use [this link](https://console.developers.google.com/start/api?id=drive&credential=client_key) to create the project. It will auto-activate the Google Drive API.
40-
- If you have multiple Google Accounts, append `&authuser=1` to the end of the url to choose which account to login with. Note that `authuser` is zero-indexed.
40+
* If you have multiple Google Accounts, append `&authuser=1` to the end of the url to choose which account to login with. Note that `authuser` is zero-indexed.
4141
1. Make sure `Create a New Project` is selected and hit `Continue`.
4242
1. Once the project has been created, click `Go to Credentials`.
4343
1. Acquire Google Drive Client Secret Credentials
4444
1. Select `Add credentials`, choose the `OAuth 2.0 client ID` type
4545
1. Click `Configure Consent Screen`.
4646
1. Select your email address from the dropdown and assign your add-on a Project Name.
47-
- This can always be changed later.
47+
* This can always be changed later.
4848
1. `Save` your Consent Screen
4949
1. In the menu that appears, choose `Other` for the `Application type`.
5050
1. Give it any name you like and click `Create`.
5151
1. Finally, download your credentials using the `Download as JSON` button to the right.
52-
- Save these credentials to a location of your choosing; `~/Downloads` is fine.
52+
* Save these credentials to a location of your choosing; `~/Downloads` is fine.
5353
1. You may close the Developer Console window.
54-
- To return to this project later, select `Resources` > `Developer Console Project` while editing your script. Then click the link at the top of the dialog to open the Developer Console with this project selected.
54+
* To return to this project later, select `Resources` > `Developer Console Project` while editing your script. Then click the link at the top of the dialog to open the Developer Console with this project selected.
5555

5656
### 2. Authenticate `gapps`
5757

5858
This process will set up Google Drive authentication to allow uploading and importing of the Apps Script project.
5959

6060
1. Run `gapps auth path/to/client_secret_abcd.json`
61-
- i.e. `gapps auth ~/Downloads/client_secret_1234567890-abcd.apps.googleusercontent.com.json`
61+
* i.e. `gapps auth ~/Downloads/client_secret_1234567890-abcd.apps.googleusercontent.com.json`
6262
1. Follow the directions by clicking on the link generated by the script.
6363
1. After you're successfully authenticated, feel free to delete the `client_secret.json` credentials file.
6464

@@ -72,21 +72,21 @@ This proces will create `gapps.config.json` and a sub-directory where all Apps S
7272

7373
1. Navigate to your Apps Script project from Google Drive (must be a [standalone script](https://developers.google.com/apps-script/guides/standalone))
7474
1. Get your project ID from the address bar, located after `/d/` and before `/edit`.
75-
- For example, '//script.google.com/a/google.com/d/__abc123-xyz098__/edit?usp=drive_web'
75+
* For example, '//script.google.com/a/google.com/d/__abc123-xyz098__/edit?usp=drive_web'
7676
1. Navigate to a directory where your Apps Script project will live
7777
1. Run `gapps init <fileId>` within your project directory.
78-
- For example, `gapps init abc123-xyz098`
78+
* For example, `gapps init abc123-xyz098`
7979

8080
#### 3.2 A new Apps Script project
8181

8282
1. Head to [https://script.google.com](https://script.google.com) and create a new blank project.
8383
1. Save the mostly empty project and give it a name.
84-
- Saving is important; the project is not in your Google Drive until it is saved.
84+
* Saving is important; the project is not in your Google Drive until it is saved.
8585
1. Get your project ID from the address bar, located after `/d/` and before `/edit`.
86-
- For example, '//script.google.com/a/google.com/d/__abc123-xyz098__/edit?usp=drive_web'
86+
* For example, '//script.google.com/a/google.com/d/__abc123-xyz098__/edit?usp=drive_web'
8787
1. Navigate to a directory where your Apps Script project will live
8888
1. Run `gapps init <fileId>` within your project directory.
89-
- For example, `gapps init abc123-xyz098`
89+
* For example, `gapps init abc123-xyz098`
9090

9191

9292
### 4. Develop locally
@@ -100,14 +100,7 @@ Run `gapps upload` from within your project directory. You should then be able t
100100

101101
## Best Practices
102102

103-
- Only upload to Google Drive and never edit files in the web IDE
104-
- This way the true state of the code is locally or in git and you'll never
105-
need to deal with issues where the states locally and remotely are not in
106-
sync.
107-
- You also get the benefits of structuring code within directories
108-
- Individual developers can have separate devevelopment Apps Script projects,
109-
and the overall solution can have shared test, ua-testing, and production
110-
targets all with different settings.
103+
Check out Matt Hessinger's blog post: [Advanced development process with apps](http://googledevelopers.blogspot.com/2015/12/advanced-development-process-with-apps.html)
111104

112105
## Docs
113106

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "node-google-apps-script",
33
"version": "1.1.3",
4-
"description": "The easiest way to manage your Google Apps Script project from the command line",
4+
"description": "The easiest way to develop Google Apps Script projects",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/danthareja/node-google-apps-script.git"

0 commit comments

Comments
 (0)