Giter Site home page Giter Site logo

elearning's Introduction

eLearning Desa Membangun

System Requirements

  • Apache 2.0
    • mod_rewrite
  • PHP 5.6
    • PHP short-tag enabled
    • PHP PDO
    • PHP MYSQLI
    • PHP GD
    • Fileinfo extension
  • MySQL Server
  • Composer
  • NodeJS
  • NPM
  • Git

Fresh Install

  • Instalasi PHP dependencies dengan Composer
     $ composer install
     
  • Instalasi asset dependencies (jQuery, Bootstrap, Font Awesome, and more...) dengan npm
     $ cd public
     $ npm install
     
  • Beberapa direktori harus diubah permission menjadi writable
     $ chmod -R 775 public/user/avatar public/portal-content public/kelas-content app/files
     
  • Setelah itu ubah group menjadi apache (untuk CentOS) atau www-data (untuk Ubuntu)
     $ chown :apache -R public/user/avatar public/portal-content public/kelas-content app/files
     
  • Konfigurasi environment dengan cara mengopy file .env.example menjadi .env
     $ cp .env.example .env
     
  • Ubah konfigurasi setiap modul punya database sendiri-sendiri
     $ nano .env
     
    Pastikan semua host, user, password, dan nama database sudah sesuai di konfigurasi .env
  • Membangun database
    • Database yang dibutuhkan
        elearning_user
        elearning_portal
        elearning_forum
        elearning_konsultasi
        elearning_faq
        elearning_kelas
        elearning_elibrary
        
    • Ubah phinx agar menjadi executable
        $ chmod +x phinx vendor/robmorgan/phinx/bin/phinx
        
    • User dan Data Daerah
        $ ./phinx migrate -c phinx_user.php
        $ ./phinx seed:run -c phinx_user.php
        
    • Portal
        $ ./phinx migrate -c phinx_portal.php
        $ ./phinx seed:run -c phinx_portal.php
        
    • Forum
        $ ./phinx migrate -c phinx_forum.php
        
    • FAQ
        $ ./phinx migrate -c phinx_faq.php
        

License

Apache

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.