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
Required environment variables must be configured in a `.env` file at the project's root. While [debugging](#debugging), additional environment variables can be configured in a `.env.debug` file at the project's root; for example, setting `REDIS_HOST` and `POSTGRESQL_HOST` to `localhost` is a common debug requirement.
| ENABLE_CARSIZED | ❌ |false| IIF value is "true" then `/carsized` is enabled |
20
+
| ENABLE_CARSIZED | ❌ || IIF value is `true` then `/carsized` is enabled |
26
21
| EXPRESS_PORT | ❌ | 8080 ||
27
22
| POSTGRESQL_HOST | ❌ | postgres ||
28
23
| POSTGRESQL_PORT | ❌ | 5432 ||
@@ -32,7 +27,32 @@ Code must pass minimum quality standards checks (`npm run check`) to be merged:
32
27
| PROJECT_NAME | ❌ | Pedestrian ||
33
28
| REDIS_HOST | ❌ | redis ||
34
29
| REDIS_PORT | ❌ | 6379 ||
35
-
| REDIS_CLUSTER | ❌ |false| IIF value is "true" then Redis will run in [cluster mode](https://redis.io/docs/management/scaling/)|
30
+
| REDIS_CLUSTER | ❌ || IIF value is `true` then Redis will run in [cluster mode](https://redis.io/docs/management/scaling/)|
36
31
| REDIS_USERNAME | ❌ |||
37
32
| REDIS_PASSWORD | ❌ |||
38
33
| YOUTUBE_API_KEY | ✅ ||[Create YouTube API Key](https://console.cloud.google.com/apis/api/youtube.googleapis.com/credentials)|
34
+
35
+
### Quick Start
36
+
37
+
Simply run `npm start`! Assuming the above requirements are met, the project will automatically be built and deployed locally along with required dependencies and services.
38
+
39
+
### Debugging
40
+
41
+
Steps 1-3 is not required if the ask is already installed, updated, and/or running.
42
+
43
+
1. Run third-party services (`npm run services`)
44
+
2. Install dependencies (`npm install`)
45
+
3. Build project (`npm run build`)
46
+
4. Attach debugger while running `npm run debug`
47
+
48
+
### Database Migration
49
+
50
+
It is recommended to dump (`npm run dump`) the database before migrating (`npm run migrate`) in case restoring (`npm run restore`) is required.
51
+
52
+
### Pull Requests
53
+
54
+
Tests (`npm test`) must pass for any changes to be merged:
55
+
56
+
-[tsc](https://www.typescriptlang.org/docs/handbook/compiler-options.html) must not emit any errors
57
+
-[ESLint](https://eslint.org) must not emit any errors
58
+
- Must be formatted with [Prettier](https://prettier.io) (`npm run prettier`)
0 commit comments