Laravel Installation

Steps to install the Vuexy Laravel on your system🧑‍💻


Installation

To migrate latest version of laravel, follow steps of Migrate Laravel Steps and then go ahead with installation.

Installing and running Vuexy is super easy, please follow below steps and you will be ready to rock 🤘

  1. Open the terminal in your root directory of Vuexy Laravel.
  2. Use following command to install composer
  3. composer install
  4. Find .env.example file at root folder and copy it to .env by running below command Or also can manually copy it (if not having .env file):
  5. cp .env.example .env
  6. Run the following command to generate the key
  7. php artisan key:generate
  8. By running the following command, you will be able to get all the dependencies in your node_modules folder:
  9. yarn
  10. To start the development server, This command will build your frontend assets with template:
  11. To serve the application, you need to run the following command in the project directory
  12. php artisan serve
  13. Now navigate to the given address, you will see your application is running.🥳

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:

Required Permissions

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
JetStream Authentication

Please follow our JetStream installation steps to use Authentication in our template.

To integrate with database migrations:

  1. You must have a database or create a new database to proceed further. Find more about database connection here
  2. You have to set your database credentials in .env file.
  3. DB_CONNECTION = mysql
    DB_HOST = 127.0.0.1
    DB_PORT = 3306
    DB_DATABASE = DATABASE_NAME
    DB_USERNAME = DATABASE_USERNAME
    DB_PASSWORD = DATABASE_PASSWORD
  4. Run the following command to generate migration tables.
  5. php artisan migrate
  6. Run the following command to generate fresh migration tables.(This will remove your current tables from Database and create new one.)
  7. php artisan migrate:fresh
  8. Run following database seeding command to create fake users in database for CRUD app.
  9. php artisan db:seed
  10. You are ready to use CRUD app 👍🏻
© 2017- Pixinvent, Hand-crafted & Made with ❤️