Repository for daily Bootcamp 2 code challenges.
- Fork this repository
- Clone locally
- Create a new remote called
upstream
pointing to the upstream repository you forked.> git remote add -f upstream https://github.com/alchemycodelab/bc2-code-challenges.git
- Install dependencies:
> npm i
- Create a
dev
branch for doing daily work:> git checkout -b dev
- Check that tests are setup correctly by running:
> npm test
Each days problems are in a branch. You will do your work on dev
, merging
the daily challenge into dev
:
- Start by running
git fetch upstream
to make sure you have the latest branches - Make sure you are on
dev
(typegit branch
to check) - Run
git merge upstream/<name-of-branch>
to merge in new daily tests and instructions. - Write tests in the daily module file
Look through the folder for each day which has links to readings and videos.
Work through the tests one-by-one:
- Don't modify the test files, except to change each test from
skip
totest
as you go. - Make that test pass.
- Git ACP (add, commit, push)
- Repeat until done.
- Run
npm test
to preflight what will happen on travis
- Open a PR from
dev
tomaster
in your own repository. - Verify that your PR passes Travis
- Submit on Canvas
- When graded, merge your PR.