Steps to install the Frest Laravel on your system🧑💻
To migrate latest version of laravel, follow steps of Migrate Laravel Steps and then go ahead with installation.
Installing and running Frest is super easy, please follow below steps and you will be ready to rock 🤘
composer install
.env
file) Find .env.example
file at root folder and rename it to .env
by running below command Or also can manually rename it:For Windows:
ren .env.example .env
mv .env.example .env
php artisan key:generate
node_modules
folder:yarn
yarn dev
php artisan serve
To change the port address, run the following command:
php artisan serve --port=8080 // For port 8080
Watching for changes: If you want to watch all the changes, you make in JavaScript and Styles files then run the following command in the root directory:
yarn watch
Building for Production: If you want to run the project and make the build in the production mode then run the following command in the root directory, by default the project will continue to run in the development mode:
yarn prod
If you are facing any issues regarding the permissions, then you need to run the following command in your project directory:
sudo chmod -R o+rw bootstrap/cache
sudo chmod -R o+rw storage
.env
file.DB_CONNECTION = mysql
DB_HOST = 127.0.0.1
DB_PORT = 3306
DB_DATABASE = DATABASE_NAME
DB_USERNAME = DATABASE_USERNAME
DB_PASSWORD = DATABASE_PASSWORD
php artisan migrate
php artisan migrate:fresh
CRUD
app.php artisan db:seed
CRUD
app 👍🏻