- Clone repo
git clone https://github.com/cruizeship/docswift.git
- Download node from the internet
- Download Xcode for the iOS simulator on Mac or Expo Go on mobile iOS
- Installing project dependencies
cd docswift
npm install
Runs the app in the development mode.
Expo CLI starts Metro Bundler.
It also pops up Expo Dev Tools, a graphical interface for Expo CLI.
- On your iPhone or iPad, open the default Apple "Camera" app and scan the QR code you see in the terminal or in Expo Dev Tools.
- On your Android device, press "Scan QR Code" on the "Projects" tab of the Expo Go app and scan the QR code you see in the terminal or in Expo Dev Tools.
The page will auto-reload when edits are made.
Be sure to open up the "Simulator" app before running the above command
Xcode will display an IOS simulator of our app.
This can also be done by selecting the Run on IOS simulator
option on the Metro Bundler.
To read more: https://reactnative.dev/docs/environment-setup
- Create a new branch using the follow naming conventions
git checkout -b <your_name>
(i.e.git checkout -b andrew
)
- Make the neccessary changes
- Be sure to test your code!
- For frontend changes, check your changes on devices of different sizes (i.e. iPhone SE, iPhone 10, and iPad)
- Be sure to test your code!
- Commit changes
git add <files to include in commit>
git commit -m <message>
- Push changes
- If first time pushing branch,
git push -u origin HEAD
; otherwise,git push
- If first time pushing branch,
- Create a pull request on the Github UI
- Write a concise title and detailed description
- What was changed?
- Why was it changed?
- How did you test? Screenshots if applicable
- Write a concise title and detailed description
- Wait for review and address comments
- ESLint
- Prettier - Code formatter
- Please make your indentation
Spaces: 4
- Please make your indentation
- GitLens - Git supercharged