Skip to content

Commit

Permalink
Merge pull request #2092 from IDEMSInternational/docs/deployment-conf…
Browse files Browse the repository at this point in the history
…ig-update

docs: update deployment config format for multiple folder IDs; clarify deployment set in top-level readme
  • Loading branch information
esmeetewinkel authored Oct 5, 2023
2 parents fc0c3bd + 776ce2a commit a1b116c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,13 @@ Note - you may have to do this from time to time when content is updated)
### Set Deployment
The app supports using different workspace or deployment configurations. These are stored in [.idems_app/deployments](./.idems_app/deployments)

An initial deployment should be specified via the command
To use an existing deployment, run the following script:
```
yarn workflow deployment set
```
This will present an interactive list of deployments to select from.

See [Deployment Documentation](https://idemsinternational.github.io/parenting-app-ui/developers/deployments/) for information about creating and configuring deployments.

### Firebase
To be able to run the full project a specific configuration file needs to be included to access
Expand Down
6 changes: 3 additions & 3 deletions documentation/docs/developers/deployments.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ const config = generateDeploymentConfig("example");

// Main Deployment config
config.google_drive = {
sheets_folder_id: "",
assets_folder_id: "",
sheets_folder_ids: [],
assets_folder_ids: [],
}
};

Expand All @@ -68,7 +68,7 @@ yarn workflow deployment set [name]
The final processed config can be found in the local `config.json` file, e.g. `.idems_app/deployments/example/config.json`

## Google Drive Management
The deployment configuration requires IDs for two created Google Drive folders, one for template sheets and one for global assets.
The deployment configuration requires IDs for at least two created Google Drive folders: one or more for template sheets and one or more for assets.

The folders should again be named without spaces or special characters, and once created their unique IDs can be found by looking at the end of the URL bar when navigating inside the folder on Google Drive.

Expand Down

0 comments on commit a1b116c

Please sign in to comment.