Skip to content

Instantly share code, notes, and snippets.

@roy-bukapeta
Created March 1, 2018 13:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roy-bukapeta/94a3b261515c3b0e0537bd57a507689b to your computer and use it in GitHub Desktop.
Save roy-bukapeta/94a3b261515c3b0e0537bd57a507689b to your computer and use it in GitHub Desktop.

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 :
create extension postgis;
  1. Restore database yang ada pada paket direktori database :
psql iuwash < database/iuwash
  1. Konfigurasi koneksi aplikasi ke database dengan cara ubah file config/db.php seperti berikut :
<?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

  1. Login mobile app

username : iuwash

password : iuwash

host : Alamat host website

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment