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