git clone https://gitlab.com/medlinx/cms-all-landing.git
composer install
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/
php artisan key:generate
migrate and use the --seed
flag to seeding the data
php artisan migrate --seed
php artisan serve
Visit http://localhost:8000
in your browser to access the Laravel application.
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
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.