Set Up - 404GNF/International-Agents-Portal GitHub Wiki

Commands to run

1. Clone GitHub repo for this project locally

$ git clone https://github.com/404GNF/International-Agents-Portal.git

2. cd into your project

$ cd International-Agent-Portal/

3. Install Composer Dependencies

$ composer install

4. Install npm Dependencies

$ npm install

5. Create a copy of your .env file

$ cp .env.example .env

Edit .env so that the laravel framework can connect to your mysql database.

6. Generate an app encryption key

$ php artisan key:generate

7. Migrate & seed the database

$ php artisan migrate:fresh --seed

8. Create the storage symbolic link

$ php artisan storage:link

Increase the maximum size of files uploaded

  • You will need to update php.ini. To locate the file on your computer/server, execute php --ini in your CLI.
  • Edit the following properties:
upload_max_filesize (we recommend 500M)
post_max_size (we recommend 500M)
  • If you use NGINX, add/edit client_max_body_size to your sever configuration.

Adminstrator dashboard

⚠️ **GitHub.com Fallback** ⚠️