Skip to content

windigo00/small_shop

Repository files navigation

small_shop

case study

This is Laravel app. see Laravel doc for details.

requirement

install

  • Clone app repo: git clone https://github.com/windigo00/small_shop.git

  • Create database and db user or use existing.

    CREATE DATABASE 'small_shop';

    CREATE USER 'small_shop'@'localhost' IDENTIFIED BY 'user_password';

    GRANT ALL PRIVILEGES ON small_shop.* TO 'small_shop'@'localhost';

    FLUSH PRIVILEGES;

  • Copy template config file .env.example into .env.

  • Update .env configuration. Chiefly DB_* for database connection. Use db name and credentials from db setup step. (see Laravel env setup for more)

  • Install vendor packages with composer

    composer install

  • Generate security key

    php artisan key:generate

  • Run migrations (creates db tables)

    php artisan migrate

  • Form more information on Laravel artisan, please visit Laravel doc

testing data

npm run initialize

About

case study

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors