Reforest-Sri-Lanka / nep

National Environment Platform - Sri Lanka
GNU General Public License v3.0
1 stars 10 forks source link

About National Envrionment Platform - NEP

Change

Plugins

composer require laravel/fortify : version ^1.6 for laravel/fortify composer require laravel/tinker: https://laravel.com/docs/8.x/artisan

ERD

Database stucture: https://drive.google.com/file/d/1AKkhn6Un0e-PPttXFus3_7ES2K4iu8Bn

QuickStart

Pull the code Set DB connection in config.database.php Run: php artisan migrate Run: php artisan migrate:refresh --seed

After adding a new class you can : composer dump-autoload

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

If you discover a security vulnerability within NEP send an email to info@reforestsrilanka.com. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.

NEP is Licensed is pending.

Packages

  1. https://github.com/spatie/laravel-robots-middleware

  2. rezaamini-ir/laravel-easypanel

  3. https://github.com/Leaflet/Leaflet.draw

  4. https://github.com/mapbox/leaflet-omnivore

  5. laravel/fortify

To Run the Program

  1. Download the repository

  2. In the terminal, run: composer install

  3. Then run composer dump-autoload or composer du

  4. Set up the database in the .env file

  5. Set up mailtrap.io in the .env file

  6. Run php artisan:migrate

  7. Scripts can be found in database/scripts folder. Add the inserts into your MYSQL database.

  8. Run php artisan:serve

  9. On your browser go to localhost:8000

  10. Log into any existing account with the password: password. For account 2 and 4 use password: passwords