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: aviary-angular/README.md
+7-3
Original file line number
Diff line number
Diff line change
@@ -11,10 +11,14 @@ Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app w
11
11
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|module`.
12
12
13
13
## Build
14
-
Run `ng build` to build the project into the `dist/` directory.
15
-
This `dist/` should be deployed to one of the website-hosting buckets in Google storage under the appropriate name.
14
+
1.Run `ng build` to build the project into the `dist/` directory.
15
+
-This `dist/` should be deployed to one of the website-hosting buckets in Google storage under the appropriate name.
16
16
Use the `--env=prod` flag for a production build. Ideally we'd use the `--prod` flag which also turns AOT compilation
17
-
on, but this throws an error at the time of writing.
17
+
on, but this throws an error at the time of writing.
18
+
1. Run `gsutil.cmd rsync -d -r dist gs://aviary.bluehawkqs.eu` to publish it online
19
+
20
+
TODO set up the website to be loaded over HTTPS using a [CDN](https://cloudplatform.googleblog.com/2015/09/push-google-cloud-origin-content-out-to-users.html)
21
+
Alternatively swap to [firebase hosting](https://firebase.google.com/docs/hosting/quickstart)
0 commit comments