- Run
git clone https://github.com/GenerateNU/my-atlas.git
to clone the repository - Have the following app/services download: Node.js, MongoDB, Docker
- Add .env to backend directory, ask team-member for file
- In backend directory, run
npm install
- In root directory, run
docker-compose up -d
- In backend directory, run
npm run start
- If the server runs properly, the server should message that it has booted up
- Install XCode at https://developer.apple.com/xcode/. XCode provides the ios simulator that we'll test the app through.
- Sign up for an Expo account at https://expo.dev/signup/. Expo is the mobile development framework that lets us build and test our app. Message Ivan your email associated with your Expo account to be added to the My Atlas organization.
- In any directory, run
npm install -g eas-cli
- In the frontend directory, run
npm install
- In the frontend directory, run
expo start --ios
This should start a development server, pull up your simulator, and install the Expo app onto it. Stop the development server in your terminal but keep the simulator open. - Download & unzip the .tar.gz file from the My Atlas organization
- Drag and drop the build into your simulator.
- Run
npx expo start —-dev-client
to start the development server - Open the Expo Go app in the simulator and go to your project. The my-atlas-frontend app should open and you should be able to edit code and hot reload.