Skip to content

Commit 795a5bd

Browse files
Merge pull request #8 from it-shark-pro/improvements
Added documentation how to sync fork from original repo
2 parents c66d795 + 6e562f6 commit 795a5bd

File tree

5 files changed

+5352
-12
lines changed

5 files changed

+5352
-12
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
language: node_js
22
node_js:
33
- "lts/*"
4+
5+
script:
6+
- yarn run lint
7+
- yarn run test

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
1+
[![Build Status](https://travis-ci.org/it-shark-pro/js-assignments.svg?branch=master)](https://travis-ci.org/it-shark-pro/js-assignments)
2+
![Hackage-Deps](https://img.shields.io/hackage-deps/v/lens.svg)
3+
[![Greenkeeper badge](https://badges.greenkeeper.io/it-shark-pro/js-assignments.svg)](https://greenkeeper.io/)
4+
5+
# [Brest IT Shark](https://it-shark.pro/)
16
[![IT Shark](https://avatars2.githubusercontent.com/u/34164782?s=200&v=4)](http://it-shark.pro/)
2-
# Brest IT Shark School
3-
## Javascript Assignments [![Build Status](https://travis-ci.org/it-shark-pro/js-assignments.svg?branch=master)](https://travis-ci.org/it-shark-pro/js-assignments)
7+
## Javascript Assignments
48

5-
[![Greenkeeper badge](https://badges.greenkeeper.io/it-shark-pro/js-assignments.svg)](https://greenkeeper.io/)
9+
### Docs
10+
* [How to sync your fork from original repo to keep up with their changes](/docs/sync-fork.md)
11+
* [Submit your solution to us for review](https://goo.gl/X6GjMB)
612

713
Yet another javascript assignments. There are a lot of interactive javascript resources for beginners, but most of them are online and do not cover the modern programming workflow. There are some excellent training resources on github (https://github.com/rmurphey/js-assessment, https://github.com/mrdavidlaing/javascript-koans, https://github.com/vasanthk/js-bits etc) but they are not exactly simulate the everyday programming process. So the motivation of this project is to show TDD process in the wild to the beginners. Assingment tests are implemented in various ways to feel a difference and gain the experience what manner is good, what is bad and what is ugly.
814

915
Another idea is to prepare assignment to cover all standard javascript functions, to drilling and mastering skills. Some tasks are practical, but some tasks are rather synthetic.
1016

1117
And the last idea is to inure trainees to work using unit test and feel uncomfortable when programming without tests.
1218

13-
To start javascript assignments please follow the next steps:
19+
### To start javascript assignments please follow the next steps:
1420
* [Fork this repo](#user-content-how-to-fork-this-repo)
1521
* [Setup travis-ci to test the commits](#user-content-how-to-setup-travis-ci)
1622
* [Setup the work environment](#user-content-how-to-setup-work-environment)
@@ -109,14 +115,11 @@ There is an easier way to debug for beginners with free Visual Studio Code:
109115
* Click in the gutter to the left of the line number to set the breakpoint. Press `F5` to run debug.
110116
* NOTE: The `launch.json` is stored in the `.vscode` project folder.
111117

112-
### Submit your solution to us for review
113-
* https://goo.gl/X6GjMB
114-
115118
## Contribution
116119
Feel free to contribute into this project. New tasks and katas are welcome.
117120

118121
## ESLint
119122
To fix linting execute:
120123
```
121124
npm run lint -- --fix
122-
```
125+
```

docs/sync-fork.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
### 1. Add remote from original repository in your forked repository:
2+
3+
`cd path/into/cloned/fork-repo`
4+
`git remote add upstream [email protected]:it-shark-pro/js-assignments.git`
5+
`git fetch upstream`
6+
7+
### 2. Updating your fork from original repo to keep up with their changes:
8+
9+
`git pull upstream master`
10+
11+
### 3. Resolve conflicts if needed and install npm packages
12+
`npm update`

0 commit comments

Comments
 (0)