Matthew Taylor
d630efb23c
Add shouldFallback
process env variable
...
So that it's clear to newcomers what things are not yet completed in scratch-www as we build it out.
2015-12-03 10:44:47 -05:00
Ray Schamp
f1fd84e7c7
Fall back to scratchr2 in development
...
There's no reason to proxy individual paths when we want all of them to fall back to what we haven't migrated yet. This mirrors the behavior of production.
Resolves GH-194
2015-11-26 23:34:21 -08:00
Ray Schamp
ae8d4d8990
Use webpack-dev-middleware for assets in dev
2015-11-19 15:25:39 -05:00
Ray Schamp
c065df3faa
Use webpack for static assets
2015-11-19 15:25:39 -05:00
Ray Schamp
8536006416
Split CLIENT_ and NODE_ SENTRY_DSN vars
2015-11-12 17:00:19 -05:00
Andrew Sliwinski
0bfd6e1430
Update environment defaults
2015-11-03 10:44:56 -05:00
Andrew Sliwinski
6913a688d3
Block PUT, POST, and DEL requests
2015-10-29 12:06:13 -04:00
Colby Gutierrez-Kraybill
3bf5f8b96c
Adjust nitpicks, remove whitespace in (), add around +
2015-10-23 10:43:30 -04:00
Colby Gutierrez-Kraybill
bec911f0a8
Handle sentry config and express routing/page handling errors, to do: handle uncaughtExceptions
2015-10-22 15:12:38 -04:00
Colby Gutierrez-Kraybill
b33645beda
Handle sentry config and express routing/page handling errors, to do: handle uncaughtExceptions
2015-10-22 15:05:55 -04:00
Ray Schamp
6cdc447e83
Merge pull request #80 from thisandagain/bugfix/nginx
...
Remove nginx build process and clean-up for production
2015-10-20 13:27:42 -04:00
Colby Gutierrez-Kraybill
d39b691c46
Adding newrelic integration
2015-10-20 12:54:48 -04:00
Andrew Sliwinski
9d9a2ca491
Remove nginx build process and clean-up for production
2015-10-20 12:48:32 -04:00
Ray Schamp
a701c0829f
Document environment variables, remove .env.sample
2015-10-07 11:48:18 -04:00
Ray Schamp
06f71a0da6
Update avatar thumbnailUrl per discussion
2015-10-06 13:32:51 -04:00
Ray Schamp
66f654536b
Use NODE_ENV convention for node environment
2015-10-02 16:58:09 -04:00
Ray Schamp
8d574399e5
Use environment for proxy settings
...
Also use default local scratchr2 port, 8080.
2015-10-02 16:58:08 -04:00
Ray Schamp
e0d17005e4
Get session from scratchr2 via proxy
...
Cookies aren't shared across ports, so the proxy is necessary to share the session between scratchr2 and www.
2015-10-02 16:58:08 -04:00
Ray Schamp
89d64fa743
Use the right local port for www
2015-09-22 10:22:18 -04:00
Colby Gutierrez-Kraybill
4b6cc3dfa2
Putting simplified version of 'resolve' in routes.json and modifying .eslintrc to create a convention that any variable matching ^_ (starts with _) will be excempt from the variable used check.
2015-09-14 13:36:00 -04:00
Colby Gutierrez-Kraybill
2e1cd7b7d7
To avoid JSLint warning on var path being assigned but never used (it's used in eval()), putting a rather ugly solution directly into the the 'resolve' property of the routes.json
2015-09-14 13:17:50 -04:00
Colby Gutierrez-Kraybill
393552bd46
Adding annotations to routes.json and correct interpreting code to include information about static assets. Will be used by routes-to-nginx-conf for building nginx regex patterns
2015-09-14 12:16:58 -04:00
Andrew Sliwinski
41176aaee1
Extend build process to support multiple views
2015-09-03 22:26:56 -07:00