GitHub - Flitty/test

Get started

Documentation.

Installation

Run the following command in terminal:

Clone the App repository

`git clone git@bitbucket.org:St_Flitty/dynaris_test.git`

Open project Dir

`cd dynaris_test`

Copy environment configuration file

`cp .env.example .env`

Edit environment config file

`nano .env`

- Fields need to set up.
  • APP_NAME=LaravelTestApp.
  • APP_ENV=prod
  • APP_URL={your url}
  • DB_CONNECTION=mysql
  • DB_HOST=127.0.0.1
  • DB_PORT=3306
  • DB_DATABASE={database name}
  • DB_USERNAME={user owner}
  • DB_PASSWORD={password}

Install PHP packages and dependensies

`composer install`

Generate app key:

`php artisan key:gen`

Install JS packages and dependensies using one of that command:

- If you use Yarn
  • yarn
  • yarn prod
- If you use NPM
  • npm install
  • npm run prod

Create symlink for media files

`php artisan storage:link`

Create database tables

`php artisan migrate`