This project holds the Coworking Metz mobile application source code.
These instructions will give you a copy of the project up and running on your local machine for development and testing purposes.
Requirements for the software and other tools to build, test and push
- Git - Version control system
- Docker - Container platform
- Node - Cross-platform JavaScript runtime environment
- expo - Platform for making universal native apps
A step by step series of examples that tell you how to get a development environment running:
git clone git@github.com:coworking-metz/mobile-app.git
cd coworking-mobile
npm i
npm start
In case you don't want to rely on the API, you can start mockoon
through docker-compose
which will mock the responses with random data.
Any credentials will work during the login flow.
docker-compose -f mock/docker-compose.yml up -d
SENTRY_DISABLE_AUTO_UPLOAD=true eas build --profile preview --platform ios --local
Then:
- launch
Xcode
- navigate to
Window
->Devices and Simulators
->Devices
- select your device
- finally drag and drop the
.ipa
file in theInstalled Apps
section
SENTRY_DISABLE_AUTO_UPLOAD=true eas build --profile preview --platform android --local
adb install build-*.apk
Everything is done through Expo Application Services. You can install it locally by doing:
npm i -g eas
eas build --profile preview --platform all
eas build --profile preview --platform ios # only for iOS
eas build --profile preview --platform android # only for Android
- Change
expo.version
inapp.json
to whatever you feel like. - Reflect the change on
version
inpackage.json
. - Change
CHANGELOG.md
accordingly. - Commit & tag it
(TAG=1.1.0; git add app.json package.json CHANGELOG.md && git commit -m "chore(version): update to $TAG" && git tag -a $TAG -m "$TAG")
git push origin --tags
eas build --profile production --platform all
eas submit
This project is licensed under the MIT License - see the LICENSE.md file for details
- README-Template for what you're reading