Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Paket Aplikasi website & mobile app untuk IUWASH
- =====
- ## Isi Paket
- 1. Folder iuwash-plus berisi seluruh paket untuk aplikasi web
- 2. Folder database berisi berkas database
- 3. Berkas iuwash_mobile.apk adalah aplikasi mobile android
- ## Panduan instalasi aplikasi web
- #### Yang harus di install (dependensi) :
- 1. Apache2
- 2. Php 7.1
- 3. Postgresql 10
- 4. Postgis 2.4 >
- #### Langkah-langkah instalasi :
- 1. Install semua dependensi
- 2. Paste paket folder iuwash-plus ke dalam root directori apache2
- 3. Buat database postgresql dengan nama **iuwash**
- 4. Install extension postgis pada database tersebut dengan perintah :
- ```sql
- create extension postgis;
- ```
- 5. Restore database yang ada pada paket direktori database :
- ```sql
- psql iuwash < database/iuwash
- ```
- 6. Konfigurasi koneksi aplikasi ke database dengan cara ubah file config/db.php seperti berikut :
- ```php
- <?php
- return [
- 'class' => 'yii\db\Connection',
- 'dsn' => 'pgsql:host=localhost;dbname=iuwash',
- 'username' => 'user_postgresql',
- 'password' => 'password_postgresql',
- 'charset' => 'utf8',
- ];
- ?>
- ```
- Ubah nama database, user dan password untuk koneksi ke database.
- #### Menggunakan aplikasi website
- 1. Login website menggunakan akun sebagai berikut :
- username : iuwash
- password : iuwash
- 2. Login mobile app
- username : iuwash
- password : iuwash
- host : Alamat host website
Add Comment
Please, Sign In to add comment