- Clone
npm install
createdb pointer-app
npm run dev
... fill in db credentials and sessionknex migrate:latest
git pull origin master
knex migrate:lastest
knex seed:run
npm install
- Each new technical task should have its own feature branch with a short name describing the new feature. The format of the branch name should be in snake case, such as add_backend_story_model.
- When a task is complete the developer should issue a pull request for that feature branch. That developer cannot merge the pull request until they get at least three thumbs ups from other developers in the class.
- Take the ticket from the whiteboard and move it to the "In Progress" column.
- Make sure you're on the master branch.
- Make sure you have the latest version of the code:
git pull origin master
- Create a new branch (you should be on master when you do this):
git checkout -b branch_name_goes_here
- Do the development work that needs to be done for that ticket.
- Test that the feature I implemented actually works.
- Check the coding guidelines to make sure you meet all of them.
- Double check the code changes you've made:
git status
,git diff
git add .
,git commit ...
- Run a
git pull origin master
to ensure that you have the latest code. - Re-test your code.
- Push your code
git push origin branch_name_goes_here
- Create your pull request, leave a comment explaining what you did.
- Move ticket to PR column.
- After fixing any issues and getting three thumbs up, merge pull request into master.
- Move ticket to completed column.
- Tell everyone to run a
git pull origin master
. - Switch back to your master branch:
git checkout master
- Pull newest changes from master:
git pull origin master
- Rinse and repeat
- White space should be in tabs, not spaces.
- There should be one component for each page.
- Each page component should be a
<section>
. - HTML attributes should use double quotes.
- We will use the Skeleton CSS grid framework. It is already installed. Layout elements should use the Skeleton grid system whenever possible.
- CSS class names should use dashes, for example
.story-box
. - Each page component should have its own unique CSS class on the
<section>
element. - CSS that is specific only to a component should live in a scss include file prefixed with an _ that is imported into
main.scss
, such as_home-page.scss
. - Global styles (styles that should be applied to multiple pages) live in
_global.scss
- No code should have eslint errors.
- Strings should use single quotes.
- Our router is using the more modern HTML5 push state so urls need not be prefixed with a
#
.
Add your GitHub profile here