Skip to content

PavelKlimovich/mydnex_blog

Repository files navigation

Mydnex Blog

Create your first blog in php.

Codacy Badge

Installation


PHP server on local machine


  1. Clone the project git clone https://github.com/PavelKlimovich/mydnex_blog.git.

  2. In terminal change current working directory root cd path/to/your/app and execute php -S localhost:8000 -t public/ to throwing php server.

  3. Install composer with composer install & composer dump-autoload .

  4. Install npm with npm install & npm run dev .

  5. Copy in the root of the project a new file .env from .env.example with

    APP_NAME=mydnex_blog
    APP_URL=http://localhost
    
    DB_CONNECTION=mysql
    DB_HOST=127.0.0.1
    DB_PORT=3306
    DB_DATABASE=
    DB_USERNAME=
    DB_PASSWORD=
    
    EMAIL_FROM=
    
  6. Create DATABASE in your database management system.

  7. Execute : php kernel migrate in directory root to initialize DATABASE.

  8. If you want generate fake data in database execute : php kernel seed.

    Admin : [email protected]
    Password : password
    
  9. If you want reset database then execute php kernel migrate:fresh.


Apache Localhost Server ( Wamp, Xampp, Mamp or Laragon)


  1. Clone the project git clone https://github.com/PavelKlimovich/mydnex_blog.git.

  2. Move the project to /var/www/html.

  3. Change the root directory to DocumentRoot /path/to_my_project/public folder.

  4. Install composer with composer install & composer dump-autoload .

  5. Install npm with npm install & npm run dev .

  6. Copy in the root of the project a new file .env from .env.example with

    APP_NAME=mydnex_blog
    APP_URL=http://localhost
    
    DB_CONNECTION=mysql
    DB_HOST=127.0.0.1
    DB_PORT=3306
    DB_DATABASE=
    DB_USERNAME=
    DB_PASSWORD=
    
    EMAIL_FROM=
    
  7. Create DATABASE in your database management system.

  8. Execute : php kernel migrate in directory root to initialize DATABASE.

  9. If you want generate fake data in database execute : php kernel seed.

    Admin : [email protected]
    Password : password
    
  10. If you want reset database then execute php kernel migrate:fresh.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published