47 lines
1.0 KiB
Markdown
47 lines
1.0 KiB
Markdown
|
|
<p align="center"><img src="https://globaljain.net/images/web/global-jain-logo.svg" width="50%" alt="Logo Global Jain"></p>
|
||
|
|
|
||
|
|
## About Global Jain
|
||
|
|
|
||
|
|
World's first and largest religious Social Networking Platform for JAIN Community.
|
||
|
|
|
||
|
|
## Install
|
||
|
|
|
||
|
|
You can create new Laravel project using git clone
|
||
|
|
|
||
|
|
git clone https://github.com/global-jain/api.git
|
||
|
|
|
||
|
|
After the project is created run the following commands
|
||
|
|
|
||
|
|
cd api
|
||
|
|
|
||
|
|
Fetch the all code from remote branches to local branches
|
||
|
|
|
||
|
|
git fetch --all
|
||
|
|
|
||
|
|
Install the dependencies using composer
|
||
|
|
|
||
|
|
composer install
|
||
|
|
|
||
|
|
Copy the environment from .env.example to .env and add database connection
|
||
|
|
|
||
|
|
copy .env.example .env
|
||
|
|
|
||
|
|
Then generate application key
|
||
|
|
|
||
|
|
php artisan key:generate
|
||
|
|
|
||
|
|
Then create storage link
|
||
|
|
|
||
|
|
php artisan storage:link
|
||
|
|
|
||
|
|
Then run the migrations
|
||
|
|
|
||
|
|
php artisan migrate:fresh
|
||
|
|
|
||
|
|
Start the local development server
|
||
|
|
|
||
|
|
php artisan serve
|
||
|
|
|
||
|
|
You can now access the server at http://localhost:8000
|
||
|
|
|
||
|
|
Or You can create virtual host and execute the project in your local system.
|