6882d36810
TRIX-33 No need to gzip jpegs during build.
2021-06-07 00:47:34 +02:00
592553cef9
readme update
2021-05-27 09:50:00 +03:00
Marsell Kukuljevic
17e2a5f86a
Add support for serving gzipped static content. Between minification and
...
this, the client-size app is now about 1MB in size when built for production.
2021-04-28 17:28:31 +02:00
Marsell Kukuljevic
60a5cd91c8
Update README.md on building app/ for production.
2021-04-28 14:11:56 +02:00
Marsell Kukuljevic
f32465aeaf
Add details to README.md about SmartOS metadata used for setting package and
...
image rates, and fix an error regarding the HTTP paths to /images.json and
/package.json
2021-04-27 22:22:19 +02:00
Marsell Kukuljevic
1ed6c05011
Add support for /rates/packages.json and /rates/images.json. These files are
...
served up from the rates/ directory, although in production the current in-repo
files are substituted with JSON pulled in from the VM's internal_metadata
configuration.
2021-04-27 00:03:21 +02:00
Marsell Kukuljevic
51028156c9
Document installation of app, including in production. Add smf manifest so
...
we can run this in a Joyent-branded zone too.
2021-04-11 20:51:52 +02:00
Marsell Kukuljevic
3c38a932ed
Log all requests, using the bunyan format (JSON with certain fields). This
...
is most easily consumed with the bunyan formatter; see README.md for more
details.
2021-04-10 23:06:24 +02:00
Marsell Kukuljevic
8672439358
Changed how paths are handled by server.js, to more closely match the Angular
...
dev environment. New paths:
/api/login: redirects to SSO
/api: all calls (other than above) are sent to cloudapi
/: static content served from static/
All API calls to cloudapi now pass through server.js's HTTP /api, not /.
The static/static path is now gone, since it was causing too much trouble.
static/ is now a symlink directly to app/dist, which is where a fresh Angular
build appears when app/ is built.
2021-04-10 21:50:50 +02:00
Marsell Kukuljevic
df9677efe5
Elaborate a bit on the login and interaction cycle in the README.
2021-02-02 16:20:21 +01:00
Marsell Kukuljevic
ff04edd2b8
Update README with some key-related details.
2021-01-31 21:43:25 +01:00
Marsell Kukuljevic
6aea7758ee
Server uses TLS, sign all requests to cloudapi, and enable SSO.
2021-01-26 17:22:37 +01:00
Marsell Kukuljevic
9abb845eec
Basic proxying to cloudapi, and serving static content.
2021-01-12 23:39:15 +01:00