Skip to content

Commit 179c24b

Browse files
author
ruchit-viitorcloud
authored
Merge pull request #1 from viralsolani/master
Pull from master
2 parents b426643 + b0204f6 commit 179c24b

File tree

287 files changed

+6734
-90424
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

287 files changed

+6734
-90424
lines changed

.circleci/config.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.env.example

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
APP_NAME=Laravel
2+
APP_ENV=local
3+
APP_KEY=base64:O+TrollIDwasHEREtMG9kBc+/Q32exQLusNVhnq558w=
4+
APP_DEBUG=true
5+
APP_LOG_LEVEL=debug
6+
APP_URL=http://localhost
7+
8+
DB_CONNECTION=mysql
9+
DB_HOST=127.0.0.1
10+
DB_PORT=3306
11+
DB_DATABASE=homestead
12+
DB_USERNAME=homestead
13+
DB_PASSWORD=secret
14+
15+
BROADCAST_DRIVER=log
16+
CACHE_DRIVER=file
17+
SESSION_DRIVER=file
18+
QUEUE_DRIVER=sync
19+
20+
REDIS_HOST=127.0.0.1
21+
REDIS_PASSWORD=null
22+
REDIS_PORT=6379
23+
24+
MAIL_DRIVER=smtp
25+
MAIL_HOST=smtp.mailtrap.io
26+
MAIL_PORT=2525
27+
MAIL_USERNAME=null
28+
MAIL_PASSWORD=null
29+
MAIL_ENCRYPTION=null
30+
31+
PUSHER_APP_ID=
32+
PUSHER_APP_KEY=
33+
PUSHER_APP_SECRET=

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ yarn-error.log
2424
phpunit.txt
2525
public/css
2626
public/js
27+
composer.lock

CODE_OF_CONDUCT.md

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# Code of Conduct
2+
3+
## 1. Purpose
4+
5+
A primary goal of Laravel Adminpanel is to be inclusive to the largest number of contributors, with the most varied and diverse backgrounds possible. As such, we are committed to providing a friendly, safe and welcoming environment for all, regardless of gender, sexual orientation, ability, ethnicity, socioeconomic status, and religion (or lack thereof).
6+
7+
This code of conduct outlines our expectations for all those who participate in our community, as well as the consequences for unacceptable behavior.
8+
9+
We invite all those who participate in Laravel Adminpanel to help us create safe and positive experiences for everyone.
10+
11+
## 2. Open Source Citizenship
12+
13+
A supplemental goal of this Code of Conduct is to increase open source citizenship by encouraging participants to recognize and strengthen the relationships between our actions and their effects on our community.
14+
15+
Communities mirror the societies in which they exist and positive action is essential to counteract the many forms of inequality and abuses of power that exist in society.
16+
17+
If you see someone who is making an extra effort to ensure our community is welcoming, friendly, and encourages all participants to contribute to the fullest extent, we want to know.
18+
19+
## 3. Expected Behavior
20+
21+
The following behaviors are expected and requested of all community members:
22+
23+
* Participate in an authentic and active way. In doing so, you contribute to the health and longevity of this community.
24+
* Exercise consideration and respect in your speech and actions.
25+
* Attempt collaboration before conflict.
26+
* Refrain from demeaning, discriminatory, or harassing behavior and speech.
27+
* Be mindful of your surroundings and of your fellow participants. Alert community leaders if you notice a dangerous situation, someone in distress, or violations of this Code of Conduct, even if they seem inconsequential.
28+
* Remember that community event venues may be shared with members of the public; please be respectful to all patrons of these locations.
29+
30+
## 4. Unacceptable Behavior
31+
32+
The following behaviors are considered harassment and are unacceptable within our community:
33+
34+
* Violence, threats of violence or violent language directed against another person.
35+
* Sexist, racist, homophobic, transphobic, ableist or otherwise discriminatory jokes and language.
36+
* Posting or displaying sexually explicit or violent material.
37+
* Posting or threatening to post other people’s personally identifying information ("doxing").
38+
* Personal insults, particularly those related to gender, sexual orientation, race, religion, or disability.
39+
* Inappropriate photography or recording.
40+
* Inappropriate physical contact. You should have someone’s consent before touching them.
41+
* Unwelcome sexual attention. This includes, sexualized comments or jokes; inappropriate touching, groping, and unwelcomed sexual advances.
42+
* Deliberate intimidation, stalking or following (online or in person).
43+
* Advocating for, or encouraging, any of the above behavior.
44+
* Sustained disruption of community events, including talks and presentations.
45+
46+
## 5. Consequences of Unacceptable Behavior
47+
48+
Unacceptable behavior from any community member, including sponsors and those with decision-making authority, will not be tolerated.
49+
50+
Anyone asked to stop unacceptable behavior is expected to comply immediately.
51+
52+
If a community member engages in unacceptable behavior, the community organizers may take any action they deem appropriate, up to and including a temporary ban or permanent expulsion from the community without warning (and without refund in the case of a paid event).
53+
54+
## 6. Reporting Guidelines
55+
56+
If you are subject to or witness unacceptable behavior, or have any other concerns, please notify a community organizer as soon as possible. viral.solani@gmail.com.
57+
58+
59+
60+
Additionally, community organizers are available to help community members engage with local law enforcement or to otherwise help those experiencing unacceptable behavior feel safe. In the context of in-person events, organizers will also provide escorts as desired by the person experiencing distress.
61+
62+
## 7. Addressing Grievances
63+
64+
If you feel you have been falsely or unfairly accused of violating this Code of Conduct, you should notify Viral Solani with a concise description of your grievance. Your grievance will be handled in accordance with our existing governing policies.
65+
66+
67+
68+
## 8. Scope
69+
70+
We expect all community participants (contributors, paid or otherwise; sponsors; and other guests) to abide by this Code of Conduct in all community venues–online and in-person–as well as in all one-on-one communications pertaining to community business.
71+
72+
This code of conduct and its related procedures also applies to unacceptable behavior occurring outside the scope of community activities when such behavior has the potential to adversely affect the safety and well-being of community members.
73+
74+
## 9. Contact info
75+
76+
viral.solani@gmail.com
77+
78+
## 10. License and attribution
79+
80+
This Code of Conduct is distributed under a [Creative Commons Attribution-ShareAlike license](http://creativecommons.org/licenses/by-sa/3.0/).
81+
82+
Portions of text derived from the [Django Code of Conduct](https://www.djangoproject.com/conduct/) and the [Geek Feminism Anti-Harassment Policy](http://geekfeminism.wikia.com/wiki/Conference_anti-harassment/Policy).
83+
84+
Retrieved on November 22, 2016 from [http://citizencodeofconduct.org/](http://citizencodeofconduct.org/)

README.md

Lines changed: 64 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# laravel-adminpanel
2-
[![License](https://img.shields.io/badge/License-MIT-red.svg)](https://github.com/viralsolani/laravel-adminpanel/blob/master/LICENSE.txtl)
2+
[![License](https://img.shields.io/badge/License-MIT-red.svg)](https://github.com/viralsolani/laravel-adminpanel/blob/master/LICENSE.txt)
3+
[![StyleCI](https://styleci.io/repos/30171828/shield?style=plastic)](https://styleci.io/repos/105789824/shield?style=plastic)
34

45

56
## Introduction
6-
* This is a laravel Admin Panel, based on [Rappasoft Laravel Boilerplate](https://github.com/rappasoft/laravel-5-boilerplate), with enhancemenets and many modules pre-made, just for you.
7+
* This is a laravel Admin Panel, based on [Rappasoft Laravel Boilerplate](https://github.com/rappasoft/laravel-5-boilerplate/releases/tag/4.5.7), with enhancemenets and many modules pre-made, just for you.
78
* The project is taken to Laravel 5.5 so we can develop from the latest Laravel.
89

910
## Features
@@ -16,18 +17,71 @@ For Laravel 5 Boilerplate Features : [Features](https://github.com/rappasoft/lar
1617
* Email Template Module
1718
* Blog Module
1819
* FAQ Module
20+
* API Boilerplate - Coming Soon.
1921

2022
Give your project a Head Start by using [laravel-adminpanel](https://github.com/viralsolani/laravel-adminpanel).
2123

22-
### How do I get set up?
24+
## Installation
2325

24-
* After taking clone first create a database for the project.
25-
* Rename the the .env.example file as .env and setup your enviornment configuration settings there e.g Database details.
26-
* Run `composer install` command from the root directory.(For this command, make sure you have composer installed, https://getcomposer.org/download)
27-
* Run `npm install` command from the root directory.(For this command, make sure you have npm installed, https://docs.npmjs.com/cli/install)
28-
* Now run the commands `php artisan migrate` and then `php artisan db:seed`.
29-
* Now run the commands `npm run prod` if on production environment or use `npm run dev` for development purposes.
30-
* Run command `php artisan serve` and you can check website from `http://localhost:8000/`.
26+
Please check the official laravel installation guide for server requirements before you start. [Official Documentation](https://laravel.com/docs/5.4/installation#installation)
27+
28+
29+
Clone the repository
30+
31+
git clone https://github.com/viralsolani/laravel-adminpanel.git
32+
33+
Switch to the repo folder
34+
35+
cd laravel-adminpanel
36+
37+
Copy the example env file and make the required configuration changes in the .env file
38+
39+
cp .env.example .env
40+
41+
Install all the dependencies using composer
42+
43+
composer install
44+
45+
Generate a new application key
46+
47+
php artisan key:generate
48+
49+
Generate a new JWT authentication secret key
50+
51+
php artisan jwt:secret
52+
53+
Run the database migrations (**Set the database connection in .env before migrating**)
54+
55+
php artisan migrate
56+
57+
Run the database seeders
58+
59+
php artisan db:seed
60+
61+
Install the javascript dependencies using npm
62+
63+
npm install
64+
65+
Compile the dependencies
66+
67+
npm run development
68+
69+
Start the local development server
70+
71+
php artisan serve
72+
73+
You can now access the server at http://localhost:8000
74+
75+
**TL;DR command list**
76+
77+
git clone https://github.com/viralsolani/laravel-adminpanel.git
78+
cd laravel-adminpanel
79+
cp .env.example .env
80+
composer install
81+
npm install
82+
npm run development
83+
php artisan key:generate
84+
php artisan jwt:generate
3185

3286
## Issues
3387

app/Console/Commands/Stubs/route.stub

Lines changed: 0 additions & 25 deletions
This file was deleted.

app/Events/Backend/CMSPages/CMSPageCreated.php

Lines changed: 0 additions & 26 deletions
This file was deleted.

app/Events/Backend/CMSPages/CMSPageDeleted.php

Lines changed: 0 additions & 26 deletions
This file was deleted.

app/Events/Backend/CMSPages/CMSPageUpdated.php

Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
3+
namespace App\Events\Backend\Pages;
4+
5+
use Illuminate\Queue\SerializesModels;
6+
7+
/**
8+
* Class PageCreated.
9+
*/
10+
class PageCreated
11+
{
12+
use SerializesModels;
13+
14+
/**
15+
* @var
16+
*/
17+
public $page;
18+
19+
/**
20+
* @param $page
21+
*/
22+
public function __construct($page)
23+
{
24+
$this->page = $page;
25+
}
26+
}

0 commit comments

Comments
 (0)