For system requirements you Check Laravel Requirement
-
git clone https://github.com/warinium/Stock-Management-System.git
-
cd Stock-Management-System
-
Create your database.
-
Rename or copy
.env.example
file to.env
-
Set your database credentials in your
.env
file. -
Set your
APP_URL
in your.env
file (exemple:APP_URL=http://127.0.0.1:8000
) -
Laravel utilizes Composer to manage its dependencies. So, before using Laravel, make sure you have Composer installed on your machine.
composer install
-
php artisan key:generate
to generate app key. -
Migrate database table:
php artisan migrate
-
php artisan db:seed
, this will initialize settings and create and admin user for you [email: [email protected] - password: [email protected]]. -
npm install
to install node dependencies. -
npm run dev
for development ornpm run build
for production. -
php artisan storage:link
-
php artisan serve
-
Visit
localhost:8000
in your browser. Default credentials: Email:[email protected]
, Password:[email protected]
.