author-reports
Statistics reporting system for authors based in Laravel 5.4.
Installation
The following extensions are required: php-gd
, php-xml
, php-mbstring
.
Dependencies
composer install
npm install
Public Directory
Configure the web server's document root to be the public
directory, the index.php
file there will handle all requests.
Directory Permissions
All directories within storage
and bootstrap/cache
must be writable by the web server.
Environment
Copy .env.example
into .env
and configure accordingly. Then set up the Application key using:
php artisan key:generate
Database Migrations
All migrations are located in database/migrations
, to run them do:
php artisan migrate
Production Deployment
JS and CSS Compilation
Compile all CSS and JS into minimized files using elixir.
npm run production
Configuration Caching
The following command will cache all configuration files for faster access.
php artisan config:cache
Development Deployment
JS and CSS Compilation
Compile all CSS and JS.
npm run development
Local Development Server
You may start a development server at http://localhost:8000
using:
php artisan serve