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.
Additionally, if you have an iOS or android 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 dependencies
npm i
- Run the application
npx expo start --reset-cache
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 then switch to thecasa_ios_onboarding
branch. To do so, attemptgit checkout casa_ios_onboarding
and read instructions - 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 origin casa_ios_onboarding
the changes to your fork and make a pull request to this repo that resolves one of the "Landing/Onboarding Pull Request's"
Congrats🎉, if you were not before, you are now an open source developer 😎