Skip to content

Latest commit

 

History

History
78 lines (64 loc) · 1.96 KB

README.md

File metadata and controls

78 lines (64 loc) · 1.96 KB

FurQuest - Admin and API

This is the administrative panel and API service for the app FurQuest

The application is built in Laravel 5.8 with MySQL

Minimum Requirements

  • PHP 7.0 ou superior
  • MySql 5.6 ou superior
  • Node.js
  • NPM
  • Extension PHP OpenSSL
  • Extension PHP PDO
  • Extension PHP Mbstring
  • Extension PHP Tokenizer
  • Extension PHP XML
  • Extension PHP Ctype
  • Extension PHP JSON
  • Web Service (Apache, Nginx etc)

Ambient configuration

Requirements:

  • Web Service (Apache, Nginx etc)

Clone the repository to the desired location.

Proper install the choosen webserver, then edit your /etc/hosts file and add:

127.0.0.1   furquest.lh

Configure a Virtual Host with the name furquest.lh

# This is only appliable to Apache configuration

<VirtualHost *:80>
    ServerName furquest.lh
    DocumentRoot /var/www/furquest/public

    <Directory /var/www/furquest/public/>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>

    ErrorLog /var/log/apache2/furquest-error.log
    CustomLog /var/log/apache2/furquest-custom.log combined
</VirtualHost>

Project Setup

Run NPM:

npm install

You might need to use sudo

Run Composer:

php bin\composer.phar install

Configure the .env

cp .env.example .env

Open the file and configure APP_URL and DB_ keys

Laravel instalation

php artisan key:generate
php artisan migrate --seed
php artisan storage:link
php artisan passport:install
composer dump-autoload

Passport Token Secret

The passport:install command will generate two client keys, you gonna use the secound one, password, get the generated token and place it inside .env at the OAUTH_TOKEN_CLIENT_SECRET key.