Vox application is built with Expo and Typescript.
To be able to run the application on iOS and Android:
- install Bun
- run
bun install
to install the project dependencies
- copy the
.env
file to.env.*.local
and fill in the environment variables - download the
GoogleService-Info.plist
andgoogle-services.json
files from the Firebase console and place them in theconfig/
folder - run
bun prepare
to load the environment file - run
bun start
to start the react-native bundler - run
bun ios
to start the iOS app - run
bun android
to start the Android app - run
bun web
to start the web app
- install the EAS CLI with
bun install -g eas-cli
- run
bun start
to start the react-native bundler - run
bun eas build --profile development
to build the app for the simulators
- make a pull request to the
staging
branch
- make a pull request to the
main
branch
- run
eas build --profile staging
- run
eas build --profile production
to build the app for the platforms
- use web folder for static files, vite generates the files in the public folder
bun build:worker
to build the static files like service worker, manifest, etcbun web:deploy
to deploy the web app to the server
- make a pull request to the
develop
branch - make sure to run prettier while developing with
bun prettier-watch
or usebun format
to format the code - please avoid to :
- use
any
type - use
console.log
for debugging - use
@ts-ignore
or@ts-nocheck
to ignore typescript errors - use
classes
as much as possible
- use