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
# Create and fill out .env file (See "Env Variables" link)
8
-
touch .env
3
+
## Development
9
4
10
-
# Start the app locally
11
-
yarn start
12
-
```
5
+
Make sure to have the following tools installed:
13
6
14
-
> When filling out the `GOOGLE_PRIVATE_KEY` env variable in your `.env` file, put it all on a single line by replacing newlines with `\n`
7
+
-`nvm` (optional)
8
+
-`node v14.15.5`
9
+
-`yarn`
10
+
- Heroku CLI
15
11
16
-
## Development
12
+
You will never have to run the code locally, other than to run tests.
17
13
18
-
Development is kinda weird since Slack wants a public URL to work off of. Because there isn't a "prod" yet, I've just been deploying each change to Heroku, then testing in Slack.
14
+
To manually test out changes, you'll simply deploy to Heroku and actually use the bot in slack!
19
15
20
16
```bash
17
+
# Install dependencies
18
+
yarn install
19
+
21
20
# Login to Heroku CLI - only have to do this once
22
21
yarn docker:login
23
22
24
23
# Deploy the app after making changes
25
24
yarn docker:deploy
26
25
```
27
26
28
-
<br/>
27
+
> You don't have to commit anything before doing a deploy. Just make the change and deploy
0 commit comments