MOON
Server: Apache
System: Linux e2e-78-16.ssdcloudindia.net 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
User: imensosw (1005)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/imensosw/www/ezwork/BK/README.md
## Prerequiries
- PHP 7.4
- Composer
- NodeJs
- MySQL

## Installation
- Clone the repository from 
  git clone https://imensosoftware@bitbucket.org/immenso-outsource/arabeasy-v2.git
- Installer back dependencies with `composer install`
- Install front dependencies with `npm install`
- Copy file `.env.example` in `.env` and add following informations:
    - Database credentials (`DB_HOST`, `DB_PORT`, ...)
    - Application url (`APP_URL`). Either virtual host address if you configure one, either 
      address form the command `php artisan serve`
    - MAIL_PASSWORD and MAIL_FROM_ADDRESS for sendgrid. It is required to send email verification mail
- Generate application key with `php artisan key:generate`
- Generate JWT key with `php artisan jwt:secret`
- Launch migrations with `php artisan migrate --seed`.
- Build front with `npm run dev`

If you did'nt set a virtual host, launch application with the `php artisan serve` command. By default, application will be served at `http://127.0.0.1:8000`

Note: Run the following command after the change in .env file.
 - php artisan cache:clear
 - php artisan config:cache

## Usage
Log as admin with 
http://127.0.0.1:8000/adminpanel
arabeasy@gmail.com
Random@123

Log as translator with 
http://127.0.0.1:8000