Before doing anything, you need to install necessary node_modules, which are javascript libraries. To do this, we use a package manager called npm. To use npm, download it here, navigate into the ClimateChangeApp directory and run npm install
.
Expo is a tool we use to generate builds for our apps. This repo already includes the files needed for an expo app, so building the application should be relatively simple.
- Download the Expo Development Client (can use mobile or desktop app), as well as the Expo Command Line Environment (Expo CLI). Instructions for both here
- Making sure you have already run
npm install
, runexpo start
and your expo app should begin the build process. - To view your app, open the Expo Development Client App and follow the instructions.
To create an expo app from scratch, see this guide.
- Begin first by going through App.js and the files in the Pages/ folder. This should give you a general idea of the project structure.
- Each of these pages represents a screen, and utilizes "child components". After you understand how the page screens work, take a look at some of the components, which hold blocks of reusable code for things like buttons, sliders, etc.