# Installation and Build

When you download the project you will encounter 3 different zip.

```
- quuqa_new.zip # React Native Project
- quuqa_admin.zip # PHP Project for Admin Panel
- api_quuqa.zip # PHP Project for API Calls
```

## Videos

### 1 - Server Setup

<https://www.youtube.com/watch?v=hF6zlzgFZM0>

### 2 - iOS Build&#x20;

<https://www.youtube.com/watch?v=hkS4J7udE0Y>

### 3 - Android Build

<https://youtu.be/7Mu7RYj33Cc>

## Installation

First, let's make the basic settings in PHP projects.

### API Installation

First off all upload your api\_quuqa.zip files into your server.

{% hint style="info" %}
quuqa.sql import your mysql database
{% endhint %}

Then, edit **required.php**

![api\_quuqa/required.php](https://794236611-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lpqkq85FC0wbyzW1sTy%2F-LsH2LPPp-E1jsR5WWjJ%2F-LsH47Doewnb4D2Vt-t6%2FScreen%20Shot%202019-10-28%20at%2014.15.51.png?alt=media\&token=e8d567b0-cfae-4827-b41d-12223b22b3d5)

Thats off all! Your API Server is ready!

## Admin Panel Installation

First off all upload your quuqa\_admin.zip files into your server.

![quuqa\_admin/system/config.php](https://794236611-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lpqkq85FC0wbyzW1sTy%2F-LsH2LPPp-E1jsR5WWjJ%2F-LsH4r8LyvuvmC14UPWP%2FScreen%20Shot%202019-10-28%20at%2014.19.08.png?alt=media\&token=3a7b1b12-6479-4bb3-882a-3493db11943c)

**Image Base URL is your API URL for uploads folder**

Is everything done? Lets start!

Open your browser and quuqa\_admin url (for ex. <http://localhost/quuqa\\_admin>)

![http://localhost/quuqa\_admin](https://794236611-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lpqkq85FC0wbyzW1sTy%2F-LsH2LPPp-E1jsR5WWjJ%2F-LsH5ZsqgDGGeh3_R8gl%2FScreen%20Shot%202019-10-28%20at%2014.21.55.png?alt=media\&token=1edbbad9-e1c7-4314-b2fe-fff54ae743dd)

#### Default Mail and Password

{% hint style="info" %}
<support@1019apps.com>

123456
{% endhint %}

After the sign in you look this page:

![Dashboard Admin Panel](https://794236611-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lpqkq85FC0wbyzW1sTy%2F-LsH2LPPp-E1jsR5WWjJ%2F-LsH6kc2jXcthu24u-YP%2FScreen%20Shot%202019-10-28%20at%2014.27.00.png?alt=media\&token=e7a668d4-fdc8-45f8-aaf6-83b0986a215f)

Click **settings** page from left menu.

![Settings Page](https://794236611-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lpqkq85FC0wbyzW1sTy%2F-LsH2LPPp-E1jsR5WWjJ%2F-LsH98HkufZwzhA9w5nx%2FScreen%20Shot%202019-10-28%20at%2014.37.40.png?alt=media\&token=948df45d-94ad-416c-b47b-3ee367cb6b70)

**Google Maps API Key** is required this page!

Thats all! You're nearly ready!

The last one is react native project!

After downloading the project, point to the directory where it is located on a terminal screen and paste following lines.

```bash
npm install # for re-install npm packages
react-native link # for linking android and ios packages
react-native run-ios --simulator="iPhone 8" # iOS Build && iPhone 8 run
react-native run-android # Android build & run
```

If you have any error message on your teminal. Please **clean build folders**.

```bash
rm -rf android/app/build #for android
rm -rf ios/build # for ios 
```
