Skip to content

saberaldda/personal_blog

Repository files navigation

Personal Blog

About

a personal blog with laravel-ui.

Table of Contents

Screens

Screens

Requirements

Package Version
Composer V2.1.12+
Php V4.4+
Node v18.12.0+
Npm V9.1.2+

dependencies

Package Version
laravel/ui ^3.3

Installation

Warning Make sure to follow the requirements first.

Here is how you can run the project locally:

  1. Clone this repo

    git clone https://github.com/saberaldda/Personal_blog.git
  2. Go into the project root directory

    cd Personal_blog
  3. Copy .env.example file to .env file

    cp .env.example .env
  4. Create database blog (you can change database name)

  5. Go to .env file

    • set database credentials
      DB_DATABASE=blog
      DB_USERNAME=root
      DB_PASSWORD=[YOUR PASSWORD]

    Make sure to follow your database username and password

  6. Install PHP dependencies

    composer update
  7. Generate key

    php artisan key:generate
  8. install front-end dependencies

    npm install && npm run dev
  9. Run migration

    php artisan migrate
    
  10. Run seeder

    php artisan db:seed
    

    this command will create users (admin):

    email: admin@admin.com , password: password

  11. Storage Link

    php artisan storage:link
    
  12. Run server

    php artisan serve
  13. Visit localhost:8000 in your favorite browser.

Contributing

> Pull requests are welcome.

About

Personal_blog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published