<commit_before># Laravel Pioneer CMS

Pioneer CMS for Laravel : To provide a platform for commencing your journey in CMS for Laravel.

## Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purpose.

### Prerequisites

What things you need to install the software

```
composer
```

### Installing

A step by step series of examples that tell you how to get a development env running

Run the command in terminal
```
$ composer create-project gajendrajain20/laravel-pioneer-cms
```

Open your php.ini (from your 'xampp/php/' directory) & remove semicolon i.e. ';' from the line 
```
'extension=php_fileinfo.dll'.
```

Create an empty database & update the database name & password in .env file.

Create a Re-captcha key & put it in your .env file under following key 
```
'G-RECAPTCHA-SECRET'
```

Run the command in root directory.
```
$ composer update
```

Run the command in root directory.
```
$ php artisan migrate --seed
```

### For Adding Comments functionality in website<commit_msg>Virtual host entry instructions added in readme.md file<commit_after># Laravel Pioneer CMS

Pioneer CMS for Laravel : To provide a platform for commencing your journey in CMS for Laravel.

## Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purpose.

### Prerequisites

What things you need to install the software

```
composer
```

### Installing

A step by step series of examples that tell you how to get a development env running

Run the command in terminal
```
$ composer create-project gajendrajain20/laravel-pioneer-cms
```

Open your `php.ini` (from your 'xampp/php/' directory) & remove semicolon i.e. ';' from the line 
```
'extension=php_fileinfo.dll'.
```

Create an empty database & update the database name & password in .env file.

Create a Re-captcha key & put it in your .env file under following key 
```
'G-RECAPTCHA-SECRET'
```

Run the command in root directory.
```
$ composer update
```

Run the command in root directory.
```
$ php artisan migrate --seed
```

Create a new virtual host entry for this application in your `httpd-vhosts.conf` file.
```
<VirtualHost *:80>
    ##ServerAdmin <EMAIL>
    ServerName www.pioneercms.com
    ServerAlias pioneercms.com
    DocumentRoot "D:\xampp\htdocs\projects\laravel-pioneer-cms"
    <Directory "D:\xampp\htdocs\projects\laravel-pioneer-cms">
        Options -Indexes +FollowSymLinks +MultiViews
        AllowOverride All
        Require all granted
    </Directory>
    ##ErrorLog "logs/dummy-host.example.com-error.log"
    ##CustomLog "logs/dummy-host.example.com-access.log" common
</VirtualHost>
```

Note: **set the `DocumentRoot` & `Directory` path to only `laravel-pioneer-cms` folder only... don't set it to the public folder**

Create a new entry in your `hosts` file like this:
```
127.0.0.1   pioneer.com
```

### For Adding Comments functionality in website
{'fraction_non_alphanumeric': 0.09750415973377703, 'fraction_numerical': 0.003993344425956739, 'mean_word_length': 3.9768211920529803, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6378626', 'n_tokens_mistral': 946, 'n_tokens_neox': 881, 'n_words': 365}