-
Notifications
You must be signed in to change notification settings - Fork 0
App
nguyenvukhang edited this page Jan 17, 2022
·
2 revisions
The app source is hosted on a private repo. See Admin Page for access instructions.
- A Github account
- An Expo account
- node v16
- yarn v1
- git
- A physical iOS/Android device with Expo Go installed
-
secrets.json(get it from a project member)
Instructions on how to install these can be found here.
- first clone
- (optional) create working directory
- clone the repo locally
- install yarn packages
- copy
secrets.jsoninto the project root
- after each fetch/pull
- update yarn pacakges
- building and running
- go to project directory
- run
expo start
First clone
Create a working directory and go to it
mkdir ~/sunnus && cd ~/sunnusClone the repository
git clone git@github.com:sunnustech/app.gitGo into the newly created directory and install all necessary dependencies
cd ~/sunnus/app && yarnCopy the
secrets.jsonfile into the root directory of the project. (Same location asexample.secrets.json)cp /path/to/secrets.json ~/sunnus/app/secrets.json
After fetching updates from github
cd ~/sunnus/app && yarn
To run the app on a local server, run this command from anywhere under
the app directory
expo start
Check that npm/yarn and expo are installed with path variables set.
- If needed, download emulators to run on such as Expo Go.
- To init and run, type
expo startin your terminal to run.
This is the sunNUS wiki. Wiki Home