Skip to content

bcgov/MooseTrackerV2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

Moose Tracker

project_description
Explore the docs »

Table of Contents
  1. About The Project
  2. Getting Started

About The Project

An updated version of the Moose Tracker application.

(back to top)

Built With

  • Typescript
  • React

(back to top)

Getting Started

Please follow these instructions on setting up in an IOS/Android simulation.

For local builds

  1. Create a .env file in app and add VITE_API_ENDPOINT

  2. Create a .env file in api and add DB_NAME="" DB_USER="" DB_PASSWORD="" DB_HOST= DB_PORT=

  3. brew services start postgresql

  4. npm install

  5. npm run dev

For IOS builds

  1. Brew install cocoapods

  2. cd MooseTrackerV2/app/ios/App

  3. pod install

  4. cd ../..

  5. nvm use 20 && npm run build

  6. npx cap sync

  7. npx cap open ios

  8. In xcode hit play icon

  9. Say yes to install suggested tools

  10. Select generic ios device and choose some physical device

  11. Hit play button and simulator should start

For bringing into testflight 12. In xcode go to product > click archive

  1. Then go to window > click organizer

  2. validate then distribute (ensure you update the version code)

Tested on xcode 15.0.1

For Android builds

  1. Download the latest android studio (last tested on Android Studio Hedgehog | 2023.1.1 Patch 2)

  2. Run android studio and if needed, set the path of the SDK (can be downloaded and linked in preferences -> Languages & Frameworks -> Android SDK )

  3. cd MooseTrackerV2/app

  4. npx cap sync

  5. npx cap open android

  6. Find the device manager tab on the sidebar and create a virtual device (tested on medium phone)

  7. Select the device in the top dropdown and hit the play button

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 77.4%
  • CSS 13.3%
  • Swift 3.9%
  • Java 1.7%
  • HTML 1.2%
  • Ruby 1.1%
  • Other 1.4%