/xenia

A platform connect local non-profits and local communities to build our city together!

Primary LanguageJavaScript

Welcome to Xenia!

this is a project run by Code for Dayton!

Local setup guide

Prerequisites

  1. Install node
  2. Install yarn
  3. Generate ssh key and add it to github
  4. React Devtools

Editor setup recommendation

  1. Setup snippets
  2. Prettier
  3. ESLint

Steps to run

  1. Using your terminal, clone this repository
git clone git@github.com:kyhy/xenia.git
  1. Navigate to xenia repository. For example:
cd ~/code/xenia
  1. Install all dependencies
yarn install
  1. Start the react application (project should automatically open on your default browser)
yarn start

Gitsetup

Use VS Code as your git editor

enable rerere

git config --global rerere.enabled true

article on git rerere

###Recommended Tools

Useful git commands

Create a branch

git checkout -b <branch-name>

Delete a branch

git branch -D <branch-name>

Push a branch

git push -u origin <branch-name>

Update local git and change it to origin/master

git fetch && git checkout origin

What if I have a branch conflict?

git fetch
git checkout <target-branch>
git rebase -i origin/master