Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

Latest commit

 

History

History
60 lines (43 loc) · 2.43 KB

readme.md

File metadata and controls

60 lines (43 loc) · 2.43 KB

Build Status Total Downloads Latest Stable Version License

About Laravel

IDAI Admin (Branch Laravel 5.8 of MozDevz )

IDAI Admnin is a Basic Information System for AID Relief by MozDevz Community.

See the portuguese version here

Installation

DOCKER
FROM SOURCE
  1. Install the above mentioned requirements.

  2. Download the source code to your computer

  3. Change directory to the root folder of the application. Update composer then run it in order to install the application dependencies. You may need root permissions to update composer.

    composer self-update
    composer install
  4. Update the application configuration files to suit your local settings:

  • Set the "Application URL" in /app/config/app.php
  • Create a database and set the database connection details in /app/config/database.php
  • The organization name in
  1. Run the migrations to create the required database tables.
    php artisan migrate
  2. Load the basic seed data
    php artisan db:seed
    If #5 or #6 above fails, you may need to run the following command then repeat the two commands again.
    composer dumpautoload
  3. If you are running the application on a webserver eg. apache, ensure that the webserver has write permissions to the /app/storage folder. Ideally the web-root should be the /public folder. The default login credentials are 'administrator' 'password'.

Troubleshooting

Ensure that you enable mod_rewrite, sudo a2enmod rewrite if you are using apache. This should solve the problem of routing failures.

Contributing

All contributions are welcome.

License

This project is licensed under the MIT license.