Welcome to our installation guide for developers. Jump in and contribute!
You'll need to set up the IDE and mobile device emulator on your local system and have access to a system running the Talawa API, which the mobile needs to access to operate properly.
- Development Environment: You'll need to have the following installed:
- API Environment: You will need to enter the URL of the API server in the Talawa app when it first starts up. The URL could be active on a system you control or in our test environment.
- Your API Server: Check the Talawa API repository for information on how to set up the API on your local machine or a machine under your legitimate control. There is a section in the README.md file that discusses installation.
(Optional) Google APIs: The app uses Google Maps API for venue selection. You will need to sign up for it if you want to test these features. Enter your API key in the
android/app/src/main/AndroidManifest.xml
file for android.ios/Runner/AppDelegate.swift
file for iOS.
Replace YOUR_KEY_HERE with your API key.
Remember to remove the key before committing changes and replace again with YOUR_KEY_HERE.
- Go to Google Developers Console.
- Create a new project that you want to enable Google Maps on.
- Search
credentials
in the search bar and selectCredentials
in APIs & Services. Click onCreate credentials
and selectAPI key
. Copy the key and replace it as said before. - Search
maps sdk for android
and select theGoogle Maps SDK for Android
in Marketplace. You can also searchmaps sdk for ios
and select theGoogle Maps SDK for iOS
in Marketplace for iOS devices. - Click
Enable
.
We have tried to make the process simple. Here's what you need to do.
- Clone and change into the project.
$ git clone https://github.com/PalisadoesFoundation/talawa.git $ cd talawa
- Install packages.
$ flutter pub get
- Start developing!
For setting up the developer environment please refer to INSTALLATION.md
from talawa-admin.