In partnership with Ruby for Good CASA (Court Appointed Special Advocate), Code the Change YYC is creating an IOS app that allows CASA volunteers to conveniently save their case contacts.
Run the following command to ensure node is installed on your device
npm -v
If the npm command is not recognized, please install the latest version of Node.js.
Install yarn
npm install --global yarn
Additionally, if you have an IOS device, download the Expo Go app for previewing. Otherwise, Snack is expo's official web-based alternative.
- Create your own fork of this repository and clone that repository to a directory on your local computer
git clone https://github.com/YOUR_USER_NAME/casa-ios-ctc.git
- Install expo-cli
npm i -g expo-cli
- Run the application
You should now have a React Native / Typescript app running on
the localhost address displayed within your terminal. A QR code should also appear.
To preview the application, scan the QR code on your iphone or import your forked repo into Snack by clicking the 3 dots to the right of "Project"
Now that the project is set up, you can contribute to it! :) To ensure everything is working as it should, create an initial "landing pull request" this should be a small change such as adding an emoji or a greeting to the main page.
- Within your local repo, run
git status
to ensure you're on themain
branch - Create a seperate branch within your local repo with
git checkout -b YOUR_BRANCH_NAME
- Make your addition(s). Ensure that the edited files are added with
git add CHANGED_FILE
, rungit status
often - Then, after every few changes, commit with
git commit -m " YOUR COMMIT DESCRIPTION "
- Finally, ensuring my repo is set as the upstream,
git push
the changes to your fork and make a pull request to this repo that resolves one of the "Landing/Onboarding Pull Request's"
Congrats, you are now an open source developer 😎