baharma / medlix-cms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clone & Install

git clone https://gitlab.com/medlinx/cms-all-landing.git

Install dependency

composer install

Environment Configuration

Copy the .env.example file to create a new .env file:

cp .env.example .env

Open the .env file and configure your database connection:

APP_URL=

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=db_test
DB_USERNAME=root
DB_PASSWORD=

set APP_URL= add with url the project. example: https://dev.medlinx.co.id/

Add APP Key

php artisan key:generate

Migrate the Database & Seeding the data

migrate and use the --seed flag to seeding the data

php artisan migrate --seed

Run Application Localy

php artisan serve

Visit http://localhost:8000 in your browser to access the Laravel application.

Run Application (Server)

By default you need add /public to access the aplication
example: https://dev.medlinx.co.id/public.
in root folder .htaccess will automatic point to public
so url just be https://dev.medlinx.co.id

If you need to settings medlinx landing, update the .htaccess pointer to public/medlinx/home

Warning!

All data in Landing (medlinx/izidok/iziklaim) is get from CMS /api.
So please add all data in cms & preview publish to suuccess field the data.

About


Languages

Language:JavaScript 42.8%Language:CSS 41.2%Language:Blade 9.7%Language:PHP 4.7%Language:Less 1.7%Language:SCSS 0.0%