Skip to content
On this page

Getting Started

The objective of this project is to support developers by offering the necessary building blocks for constructing a standard Content Management System (CMS). The intention is to optimize development time and concentrate on core components. The project strives to the highest standards to achieve efficiency and production-readiness.
We hope you find it useful and invite you to share your feedback. If you would like to contribute to the CMS you are more than welcome to do so. Our aim is to make this the leading CMS maintained by the open-source community.

Prerequisites

Composer

XAMPP(Windows) / MAMP(Mac) / LAMP(Linux)

Laravel

PostgresQL / MySQL

Redis

Step. 1: Clone a new project

Clone Repository

git@repo.ekbana.info:ekbana/ekcms-ver7.git project-name

Step. 2: Checkout to branch

Latest branch with all Packages

git checkout dev

Branch with no translation

git checkout no-trans

Branch with page wise translation

git checkout page-wise-translation

Install packages

yarn install || npm install

Step. 3: Setup .env example

text
APP_NAME=Laravel
APP_ENV=local
APP_KEY=YOUR_APP_KEY_HERE
APP_DEBUG=true
APP_URL=YOUR_APP_URL_HERE

LOG_CHANNEL=stack

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

BROADCAST_DRIVER=log
CACHE_DRIVER=file
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=
MAIL_HOST=
MAIL_PORT=
mail_username=
MAIL_PASSWORD=
MAIL_ENCRYPTION=tls
MAILGUN_DOMAIN=
MAILGUN_SECRET=

MAIL_FROM_ADDRESS=
MAIL_FROM_NAME=

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1

IP_ADDRESS=110.44.123.47
API_URL=http://ip-api.com

Step 4: Available Scripts

To migrate tables

php artisan migrate

To seed initial data

php artisan db:seed

If you wish to rollback all migration

php artisan migrate:rollback

Step 5: Build js and css

For development

yarn run dev

For production

yarn run prod

Run watch mode for Js and css Development

yarn watch

Step 6: Run app for development

php artisan serve

Runs the app in the development Open http://127.0.0.1:8000