Guest User

Untitled

a guest
Mar 11th, 2018
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. Paket Aplikasi website & mobile app untuk IUWASH
  2. =====
  3.  
  4. ## Isi Paket
  5. 1. Folder iuwash-plus berisi seluruh paket untuk aplikasi web
  6. 2. Folder database berisi berkas database
  7. 3. Berkas iuwash_mobile.apk adalah aplikasi mobile android
  8.  
  9. ## Panduan instalasi aplikasi web
  10.  
  11. #### Yang harus di install (dependensi) :
  12. 1. Apache2
  13. 2. Php 7.1
  14. 3. Postgresql 10
  15. 4. Postgis 2.4 >
  16.  
  17. #### Langkah-langkah instalasi :
  18. 1. Install semua dependensi
  19. 2. Paste paket folder iuwash-plus ke dalam root directori apache2
  20. 3. Buat database postgresql dengan nama **iuwash**
  21. 4. Install extension postgis pada database tersebut dengan perintah :
  22. ```sql
  23. create extension postgis;
  24. ```
  25. 5. Restore database yang ada pada paket direktori database :
  26. ```sql
  27. psql iuwash < database/iuwash
  28. ```
  29. 6. Konfigurasi koneksi aplikasi ke database dengan cara ubah file config/db.php seperti berikut :
  30.  
  31. ```php
  32. <?php
  33.  
  34. return [
  35. 'class' => 'yii\db\Connection',
  36. 'dsn' => 'pgsql:host=localhost;dbname=iuwash',
  37. 'username' => 'user_postgresql',
  38. 'password' => 'password_postgresql',
  39. 'charset' => 'utf8',
  40. ];
  41. ?>
  42. ```
  43. Ubah nama database, user dan password untuk koneksi ke database.
  44.  
  45.  
  46. #### Menggunakan aplikasi website
  47. 1. Login website menggunakan akun sebagai berikut :
  48.  
  49. username : iuwash
  50.  
  51. password : iuwash
  52.  
  53. 2. Login mobile app
  54.  
  55. username : iuwash
  56.  
  57. password : iuwash
  58.  
  59. host : Alamat host website
Add Comment
Please, Sign In to add comment