Village Makeover is a nonprofit fundraising platform. As you build your online village, the money you spend builds real villages. For example buy a well for your village and you donate to construction of a real well in Ndola Zambia. At present all donations are managed through Seeds of Hope International Partners (www.sohip.org).
Spreadsheets and App Script
-----------
- Duplicate all of the spreadsheets and app script
- Put docids into the settings spreadsheet
config.yaml
----------------
For service account credentials:
console.developers.google.c…]
- Create new service account
- Download JSON and copy/paste values into config.yaml
- Share all of the spreadsheets with service account Email address
Create `config.yaml`:
```
spreadsheet:
config_docid: "config-spreadsheet-docid"
private_key_id: "values-from-google-developer-service-account"
private_key: "values-from-google-developer-service-account"
client_email: "values-from-google-developer-service-account"
client_id: "values-from-google-developer-service-account"
type: "service_account"
```
Deployment
-----------
Install pip and virtualenv. For example, on MacOSX:
```
sudo easy_install pip
sudo pip install virtualenv
```
Clone full version of IGE to `ige` directory.
Install Node.js and then IGE deps via NPM:
```
cd ige/server
npm install
```
Deploy:
```
./upload.sh
```
Google APIs
-----------
Enable the following APIs:
-
console.developers.google.c…]
-
console.developers.google.c…]
-
console.developers.google.c…]
To see the list of the enabled Google APIs:
console.developers.google.c…]
OAuth 2.0
-----------
For OAuth2 2.0 credentials:
console.developers.google.c…]
- Create new OAuth client ID
- Application type: Web application
- Authorized JavaScript origins: Deployment or development URL
- Authorized redirect URIs: Deployment or development URL
Download JSON and copy/paste values into config spreadsheet
App Script
-----------
- Go to Resources -> Developers Console Project... and enter your …