Skip to content
No description, website, or topics provided.
PHP HTML Other
Branch: staging
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Modules
app
bootstrap
config
database
dockerfiles
public
resources
routes
storage
tests
.editorconfig
.env.example
.env.travis
.gitattributes
.gitignore
.phpunit.result.cache
.travis.yml
CONTRIBUTE.md
LICENSE
README.md
artisan
composer.json
docker-compose.utils.yml
docker-compose.yml
modules_statuses.json
package-lock.json
package.json
phpunit.xml
server.php
webpack.mix.js

README.md

Intellect Inventory System

Modular Inventory and CRM for ant sized companies with open source code. Developed based on Laravel Boilerplate

Table of Contents

System Requirements

To be able to run Laravel Boilerplate you have to meet the following requirements:

  • PHP > 7.1
  • PHP Extensions: PDO, cURL, Mbstring, Tokenizer, Mcrypt, XML, GD
  • Node.js > 6.0
  • Composer > 1.0.0

Installation

  1. Install Composer using detailed installation instructions here
$ wget https://getcomposer.org/composer.phar
$ chmod +x composer.phar
$ mv composer.phar /usr/local/bin/composer
  1. Install Node.js using detailed installation instructions here
$ yum install npm
  1. Clone repository
$ git clone https://github.com/gazatem/intellect.git
  1. Change into the working directory
$ cd intellect
  1. Copy .env.example to .env and modify according to your environment
$ cp .env.example .env
  1. Install composer dependencies
$ composer install --prefer-dist
  1. An application key can be generated with the command
$ php artisan key:generate
  1. Execute following commands to install other dependencies
$ npm install
$ npm run dev
  1. Run these commands to create the tables within the defined database and populate seed data
$ php artisan migrate --seed

Troubleshooting

  • If you get an error like a PDOException try editing your .env file and change DB_HOST=127.0.0.1 to DB_HOST=localhost or DB_HOST=mysql (for docker-compose environment).

  • If you get a password error try this command:

# ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'root'; 

Run

To start the PHP built-in server

$ php artisan serve --port=8080
or
$ php -S localhost:8080 -t public/

Now you can browse the site at http://localhost:8080 🙌

Docker

Here is a Docker based local development environment prepared, which provides a very flexible and extensible way of building your custom Laravel applications.

Run

  1. Clone repository
$ git clone https://github.com/gazatem/intellect.git
  1. Copy .env.example to .env and modify according to your environment (make sure database host set to DB_HOST=mysql)
$ cp .env.example .env
  1. Start environment
$ docker-compose up -d  # to start base containers
or
$ docker-compose -f docker-compose.yml -f docker-compose.utils.yml up -d  # to start base and utils containers
  1. Build project
$ docker exec laravel-boilerplate_laravel-env_1 ./dockerfiles/bin/prj-build.sh
 or
$ docker-compose run --rm laravel-boilerplate_laravel-env_1 ./dockerfiles/bin/prj-build.sh

Now you can browse the site at http://localhost:80 🙌


  1. Stop environment
$ docker-compose down
 or
$ docker-compose -f docker-compose.yml -f docker-compose.utils.yml down

Bugs and Feedback

For bugs, questions and discussions please use the GitHub Issues.

License

This boilerplate is open-sourced software licensed under the MIT license.

You can’t perform that action at this time.