- Get node (latest version should be ok)
- Get npx (the local version of expo-cli): npm install -g npx
- Clone https://github.com/wlmac/mobile
- Use the teardown branch, not main
- Install deps: npm install --legacy-peer-deps --include-dev
- Run: npx expo start
- In order to run notifications, you need to:
- Create an expo account and login expo at https://expo.dev/
- Create a new project in expo's web GUI
- Copy the command it gives you and run it in the terminal
- It should look like
eas init --id {project_ID}
- It should look like
- Install latest deps
- Use npm install --legacy-peer-deps --include-dev
- Check for updates
- Before you do anything, ensure you are up-to-date with remote and the dependencies are up-to-date
- Outdated dep check: npm outdated
- Update deps command: npm update --legacy-peer-deps --include-dev -- save --save-dev
- Branch
- Code on teardown branch or a new branch diverging from it
- Master branch is deprecated and teardown will be renamed and set to the main branch in the coming future
- Testing
- For development testing, run npx expo start --tunnel
- For production testing, run npx expo start --tunnel --no-dev --minify
- Bugs/PRs
- Use the issues/prs tabs on GitHub respectively for these issues, or simply just discuss in the app dev chat
- Configure app.json
- In expo.version, update it to the next version (current is 1.1.1)
- In android.versionCode, update it to the next version (current is 8)
- Configure changelog.json
- Create a new json object in the file, append it to the FRONT of the list.
- In version, write the version now in expo.version
- In time, Get the current unix time (https://www.unixtimestamp.com/)
- In changes, Write changes
- Configure changelog.tsx
- Ideally, after the first two steps the changelog will show whenever a user logs in the app or opens the app after an update for the first time. Nothing should be changed here unless this doesn’t work
- Finish updates (@colin, @ken and @shane for notifs)
- Make teardown the main branch
- Build & release app
- Deadline ~mid july
- Summer:
- Implement the UI in #app-design - Colin, Max, Aaron
- Redux - Max, Aaron, Shane (maybe)
- Try to get update by start of school year
- Start of school year/whenever update ready: Market
- During food day, if u have app u get extra food/discount
- Posters
- Chill!