You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,3 +93,25 @@ To deploy to your own production Firebase:
93
93
### Next steps
94
94
95
95
For instructions on how to deploy to your own production Firebase project, see the [Ground Developer's Guide](https://github.com/google/ground-platform/wiki/Ground-Developer's-Guide).
96
+
97
+
## Common commands
98
+
99
+
All commands use [Nx](https://nx.dev) and [pnpm](https://pnpm.io). Run them from the repo root.
100
+
101
+
| Command | Description |
102
+
| ------- | ----------- |
103
+
|`nx start`| Build and start the local Firebase emulator and Angular dev server |
104
+
|`nx run root:build`| Build all packages |
105
+
|`nx run root:test`| Run all tests |
106
+
|`nx run root:lint`| Lint all packages |
107
+
|`nx run web:serve`| Serve the web app only (no emulator) |
108
+
|`nx run web:serve:staging`| Serve the web app against the live staging environment |
109
+
|`nx run web:test`| Run web tests |
110
+
|`nx run web:extract-i18n`| Extract i18n messages from the web app |
111
+
|`nx run functions:test`| Run Cloud Functions tests |
112
+
|`nx run functions:emulate`| Start the Firebase emulator for functions only |
113
+
|`nx run functions:logs`| Tail Cloud Functions logs |
114
+
|`nx run functions:shell`| Open an interactive Cloud Functions shell |
115
+
|`nx run root:export:local`| Save current emulator data to disk for use on next run |
116
+
|`nx run root:deploy:staging`| Build and deploy all to staging |
117
+
|`nx run root:deploy:production`| Build and deploy all to production |
0 commit comments