The project was created while recording video "Create POS System Using Laravel"
For system requirements you Check Laravel Requirement
git clone https://github.com/angkosal/laravel-pos.git [YourDirectoryName]
The command installs the project in a directory named YourDirectoryName
. You can choose a different
directory name if you want.
Laravel utilizes Composer to manage its dependencies. So, before using Laravel, make sure you have Composer installed on your machine.
cd YourDirectoryName
composer install
Rename or copy .env.example
file to .env
1.php artisan key:generate
to generate app key.
- Set your database credentials in your
.env
file - Set your
APP_URL
in your.env
file.
- Migrate database table
php artisan migrate
- Generate config
php artisan db:seed
npm install
to install node dependenciesnpm run dev
to build our javascript
php artisan tinker
and than pastehit enter.App\Models\User::create([ 'first_name' => 'Admin', 'last_name' => 'admin', 'email'=>'[email protected]', 'password' => bcrypt('admin') ]
php artisan storage:link
php artisan serve
or Laravel Homestead- Visit
localhost:8000
in your browser - Visit
/admin
if you want to access the admin. Email:[email protected]
, Password:admin
.