Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 16 additions & 10 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,19 @@ steps:
body: 01.00-setup.md
head: setup
action_id: setup_pr
- type: respond
issue: '%actions.setup_pr.data.number%'
with: 01.00-setup.activities.md
data:
repo_ssh_url: '%actions.setup_pr.data.ssh_url%'
- type: assignRegistrant
issue: '%actions.setup_pr.data.number%'
- type: respond
with: 00.03-goto-first-pr.md
data:
url: '%actions.setup_pr.data.html_url%'

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

- title: 'Local Setup: VS Code'
- title: 'Setting up an Editor'
description: Install VS Code
event: pull_request.synchronize
link: '%actions.setup_pr.data.html_url%'
Expand All @@ -74,7 +79,7 @@ steps:
- type: respond
with: 01.02-build-project.md

- title: 'Local Setup: Build Project'
- title: 'Building the Project'
description: Create project bundle
event: pull_request.synchronize
link: '%actions.setup_pr.data.html_url%'
Expand All @@ -89,7 +94,7 @@ steps:
- type: respond
with: 01.03-run-tests.md

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

- title: 'Local Setup: Check App Works'
- title: 'Verifying the App Works'
description: Create project bundle
event: pull_request_review.submitted
link: '%actions.setup_pr.data.html_url%'
Expand All @@ -113,22 +118,23 @@ steps:
left: '%payload.review.state%'
operator: ===
right: approved
- type: createIssue
title: This is just the Beginning!
body: 02.00-end.md
action_id: final_issue
- type: respond
with: 01.06-github-pages.md
data:
next_pr: '%actions.app_pr.data.html_url%'
final_issue: '%actions.final_issue.data.html_url%'
- type: mergePullRequest
pullRequest: Getting Started
- type: deleteBranch
branch: setup
- type: createIssue
title: This is just the Beginning!
body: 02.00-end.md

- title: 'Fin: Wrapping it up!'
description: Additional links
event: issues
link: '{{ repoUrl }}/issues/3'
link: '%actions.final_issue.data.html_url%'
actions:
- type: gate
left: '%payload.action%'
Expand Down
57 changes: 57 additions & 0 deletions responses/01.00-setup.activities.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
## ⌨️ Activities!

### Step 0.0 — Install Node 🚀

If you don't have `node` installed, you can normally get it here: https://nodejs.org/en/

But you may also be able to get it through your package manager of choice:

* on Debian-based Linuxes systems that would look like `apt-get install node`,
* on macOS with Homebrew it would look like `brew install node`,
* on Windows with Choco it looks like `choco install nodejs.install`

But either way, you can just go to the website above, download the installer, and get it set up in a few clicks.

### Step 0.1 — Install Yarn 🧶

Since this course makes some assumptions on the `yarn` tool, we will need to install it.

You can run `npm install --global yarn` to get the latest version of `yarn` globally available, and you
can verify that you have `yarn` installed by running `yarn --version`.

### Step 1.0 — Clone the Project 📦

1. Clone this repo to your computer

```
git clone {{ repo_url }}
```

> 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.

2. Go to the project folder in your computer and check out the `setup` branch.

```
cd reason-todo-app
git checkout setup
```

2. Run `yarn` to install all necessary dependencies:

```
yarn
```

> 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! 🙏

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:

```sh
git add yarn.lock
git commit --message "Add yarn.lock"
git push origin setup
```

----

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)
59 changes: 0 additions & 59 deletions responses/01.00-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,62 +5,3 @@ And so it begins! 🧙🏼‍♂️ This Learning Lab has a single prerrequisite
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.

Now let's cover those prerrequisites, shall we?

## ⌨️ Activities!

### Step 0.0 — Install Node 🚀

If you don't have `node` installed, you can normally get it here: https://nodejs.org/en/

But you may also be able to get it through your package manager of choice:

* on Debian-based Linuxes systems that would look like `apt-get install node`,
* on macOS with Homebrew it would look like `brew install node`,
* on Windows with Choco it looks like `choco install nodejs.install`

But either way, you can just go to the website above, download the installer, and get it set up in a few clicks.

### Step 0.1 — Install Yarn 🧶

Since this course makes some assumptions on the `yarn` tool, we will need to install it.

You can run `npm install --global yarn` to get the latest version of `yarn` globally available, and you
can verify that you have `yarn` installed by running `yarn --version`.

### Step 1.0 — Clone the Project 📦

1. Clone this repo to your computer

```
git clone git@github.com:{{ user.username }}/reason-todo-app
```

> 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.

2. Go to the project folder in your computer and check out the `setup` branch.

```
cd reason-todo-app
git checkout setup
```

2. Run `yarn` to install all necessary dependencies:

```
yarn
```

> 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! 🙏

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:

```sh
git add yarn.lock
git commit --message "Add yarn.lock"
git push origin setup
```

----

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)
2 changes: 1 addition & 1 deletion responses/01.06-github-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ This repository is set up so that when you enable Github Pages you can share the

Now I'm going to merge this PR and delete this branch. You are good to go.

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