Skip to content

Commit 8e3657a

Browse files
authored
Merge pull request #7 from SRC-technology/fixes
Fixes based on GH Feedback
2 parents a59ce78 + a9daa62 commit 8e3657a

File tree

4 files changed

+74
-70
lines changed

4 files changed

+74
-70
lines changed

config.yml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,19 @@ steps:
3737
body: 01.00-setup.md
3838
head: setup
3939
action_id: setup_pr
40+
- type: respond
41+
issue: '%actions.setup_pr.data.number%'
42+
with: 01.00-setup.activities.md
43+
data:
44+
repo_ssh_url: '%actions.setup_pr.data.ssh_url%'
4045
- type: assignRegistrant
4146
issue: '%actions.setup_pr.data.number%'
4247
- type: respond
4348
with: 00.03-goto-first-pr.md
4449
data:
4550
url: '%actions.setup_pr.data.html_url%'
4651

47-
- title: 'Local Setup: Install Dependencies'
52+
- title: 'Install Dependencies'
4853
description: Get the repo up and working in your computer
4954
event: pull_request.synchronize
5055
link: '%actions.setup_pr.data.html_url%'
@@ -59,7 +64,7 @@ steps:
5964
- type: respond
6065
with: 01.01-install-vs-code.md
6166

62-
- title: 'Local Setup: VS Code'
67+
- title: 'Setting up an Editor'
6368
description: Install VS Code
6469
event: pull_request.synchronize
6570
link: '%actions.setup_pr.data.html_url%'
@@ -74,7 +79,7 @@ steps:
7479
- type: respond
7580
with: 01.02-build-project.md
7681

77-
- title: 'Local Setup: Build Project'
82+
- title: 'Building the Project'
7883
description: Create project bundle
7984
event: pull_request.synchronize
8085
link: '%actions.setup_pr.data.html_url%'
@@ -89,7 +94,7 @@ steps:
8994
- type: respond
9095
with: 01.03-run-tests.md
9196

92-
- title: 'Local Setup: Test Project'
97+
- title: 'Testing the Project'
9398
description: Run the tests in the project.
9499
event: pull_request.synchronize
95100
link: '%actions.setup_pr.data.html_url%'
@@ -104,7 +109,7 @@ steps:
104109
- type: respond
105110
with: 01.05-check-app-local.md
106111

107-
- title: 'Local Setup: Check App Works'
112+
- title: 'Verifying the App Works'
108113
description: Create project bundle
109114
event: pull_request_review.submitted
110115
link: '%actions.setup_pr.data.html_url%'
@@ -113,22 +118,23 @@ steps:
113118
left: '%payload.review.state%'
114119
operator: ===
115120
right: approved
121+
- type: createIssue
122+
title: This is just the Beginning!
123+
body: 02.00-end.md
124+
action_id: final_issue
116125
- type: respond
117126
with: 01.06-github-pages.md
118127
data:
119-
next_pr: '%actions.app_pr.data.html_url%'
128+
final_issue: '%actions.final_issue.data.html_url%'
120129
- type: mergePullRequest
121130
pullRequest: Getting Started
122131
- type: deleteBranch
123132
branch: setup
124-
- type: createIssue
125-
title: This is just the Beginning!
126-
body: 02.00-end.md
127133

128134
- title: 'Fin: Wrapping it up!'
129135
description: Additional links
130136
event: issues
131-
link: '{{ repoUrl }}/issues/3'
137+
link: '%actions.final_issue.data.html_url%'
132138
actions:
133139
- type: gate
134140
left: '%payload.action%'
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
## ⌨️ Activities!
2+
3+
### Step 0.0 — Install Node 🚀
4+
5+
If you don't have `node` installed, you can normally get it here: https://nodejs.org/en/
6+
7+
But you may also be able to get it through your package manager of choice:
8+
9+
* on Debian-based Linuxes systems that would look like `apt-get install node`,
10+
* on macOS with Homebrew it would look like `brew install node`,
11+
* on Windows with Choco it looks like `choco install nodejs.install`
12+
13+
But either way, you can just go to the website above, download the installer, and get it set up in a few clicks.
14+
15+
### Step 0.1 — Install Yarn 🧶
16+
17+
Since this course makes some assumptions on the `yarn` tool, we will need to install it.
18+
19+
You can run `npm install --global yarn` to get the latest version of `yarn` globally available, and you
20+
can verify that you have `yarn` installed by running `yarn --version`.
21+
22+
### Step 1.0 — Clone the Project 📦
23+
24+
1. Clone this repo to your computer
25+
26+
```
27+
git clone {{ repo_url }}
28+
```
29+
30+
> If you haven't done this before, we recommend @github's guide on [Cloning Repositories](https://help.github.com/en/articles/cloning-a-repository). It is super short and will get you started.
31+
32+
2. Go to the project folder in your computer and check out the `setup` branch.
33+
34+
```
35+
cd reason-todo-app
36+
git checkout setup
37+
```
38+
39+
2. Run `yarn` to install all necessary dependencies:
40+
41+
```
42+
yarn
43+
```
44+
45+
> NOTE: installing dependencies sometimes can take a while and sometimes can fail because the internet is not perfect. If you have any trouble, please try again. If it still doesn't work, tweet at us [@SRC_technology](https://twitter.com/SRC_technology) and we'll try to help! 🙏
46+
47+
3. After the installation is completed, you will have 1 new file (`yarn.lock`) and 1 new folder (`node_modules`). Make sure to add the `yarn.lock` file with `git`, commit it, and push your changes. You can do that by running:
48+
49+
```sh
50+
git add yarn.lock
51+
git commit --message "Add yarn.lock"
52+
git push origin setup
53+
```
54+
55+
----
56+
57+
I will post more steps once these are completed 🤓 — if you need any help, you can always find me on Twitter: [@SRC_technology](https://twitter.com/SRC_technology)

responses/01.00-setup.md

Lines changed: 0 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -5,62 +5,3 @@ And so it begins! 🧙🏼‍♂️ This Learning Lab has a single prerrequisite
55
If you have never used [Node.js](https://nodejs.org/en/) before, don't worry, we'll include all the necessary steps for you to take, and guide you along the way.
66

77
Now let's cover those prerrequisites, shall we?
8-
9-
## ⌨️ Activities!
10-
11-
### Step 0.0 — Install Node 🚀
12-
13-
If you don't have `node` installed, you can normally get it here: https://nodejs.org/en/
14-
15-
But you may also be able to get it through your package manager of choice:
16-
17-
* on Debian-based Linuxes systems that would look like `apt-get install node`,
18-
* on macOS with Homebrew it would look like `brew install node`,
19-
* on Windows with Choco it looks like `choco install nodejs.install`
20-
21-
But either way, you can just go to the website above, download the installer, and get it set up in a few clicks.
22-
23-
### Step 0.1 — Install Yarn 🧶
24-
25-
Since this course makes some assumptions on the `yarn` tool, we will need to install it.
26-
27-
You can run `npm install --global yarn` to get the latest version of `yarn` globally available, and you
28-
can verify that you have `yarn` installed by running `yarn --version`.
29-
30-
### Step 1.0 — Clone the Project 📦
31-
32-
1. Clone this repo to your computer
33-
34-
```
35-
git clone git@github.com:{{ user.username }}/reason-todo-app
36-
```
37-
38-
> If you haven't done this before, we recommend @github's guide on [Cloning Repositories](https://help.github.com/en/articles/cloning-a-repository). It is super short and will get you started.
39-
40-
2. Go to the project folder in your computer and check out the `setup` branch.
41-
42-
```
43-
cd reason-todo-app
44-
git checkout setup
45-
```
46-
47-
2. Run `yarn` to install all necessary dependencies:
48-
49-
```
50-
yarn
51-
```
52-
53-
> NOTE: installing dependencies sometimes can take a while and sometimes can fail because the internet is not perfect.
54-
> If you have any trouble, please try again. If it still doesn't work, tweet at us [@SRC_technology](https://twitter.com/SRC_technology) and we'll try to help! 🙏
55-
56-
3. After the installation is completed, you will have 1 new file (`yarn.lock`) and 1 new folder (`node_modules`). Make sure to add the `yarn.lock` file with `git`, commit it, and push your changes. You can do that by running:
57-
58-
```sh
59-
git add yarn.lock
60-
git commit --message "Add yarn.lock"
61-
git push origin setup
62-
```
63-
64-
----
65-
66-
I will post more steps once these are completed 🤓 — if you need any help, you can always find me on Twitter: [@SRC_technology](https://twitter.com/SRC_technology)

responses/01.06-github-pages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ This repository is set up so that when you enable Github Pages you can share the
66
77
Now I'm going to merge this PR and delete this branch. You are good to go.
88

9-
But before we go, [one final issue]({{repo}}/issue/3).
9+
But before we go, [one final issue]({{final_issue_url}}).

0 commit comments

Comments
 (0)