Explore the docs »
View Demo
·
Report Bug
·
Request Feature
To get a local copy up and running follow these simple steps.
Before getting started, you'll need to setup your enviorment.
- Install a Package Manager (
npm
oryarn
)
-
npm install -g npm
- Install Expo CLI
-
npm install --global expo-cli
- [OPTIONAL] To publish or build with
Expo Application Services (EAS)
, you'll need to also install theeas-cli
:
-
npm install -g eas-cli
- Clone the repo
git clone https://github.com/eladkarni/rn-dualtemp-weather.git
- Install packages
npm install
If you have all of the dependencies installs, then you are ready to get started!
You'll also need to make sure you have the required API keys to run the app. One will be for the weather data and another will be for the reverse geolocation (converting a GPS coordinates to a city or county).
The first key you'll need is from Open Weather
The second key you'll need is for the reverse geolocation Geoapify
Once you have both keys, you'll need to dupliacte the app.config.template.js
and rename the copy to app.config.js
. Then add the API keys in the empty ""
To start the project, use the following command:
npm start
This will start the development server and provide you additional options for testing devices.
Once you are done done testing on your Simulator or using the Expo Go app, you can build the app the following command:
eas build --profile development --platform android
Note that development
is one of the predefined build presets. To see the other options or add your own, checkout eas.json
in the root directory. You'll also need to remove app.config.js
from the .gitignore
as EAS uses that to determain what to upload for processing.
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.