anouarjlidi / kabum

A remake of KaBuM!, an e-commerce website.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KaBuM!

A remake of the popular Brazilian e-commerce website.

Requirements

You will likely need to install php-mbstring, php-xml and php-intl. The application will complain if any extension is missing.

Instructions

Install dependencies

composer install
yarn install

Build the assets

yarn encore dev

Create the .env.local file and configure it as needed

DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/database_name
APP_ENV=dev

Create the database you specified in the last step and execute the doctrine migrations

$ php bin/console doctrine:migrations:migrate

You can add an administrator user with the command:

php bin/console app:create-admin <username> <password>

This project makes use of FOSJsRoutingBundle. When new routes are exposed, you must regenerate the route definitions so they can be used in JavaScript code:

php bin/console fos:js-routing:dump --format=json --target=public/fos_js_routes.json

License

Copyright 2019-2020 Douglas Silva (0x9fd287d56ec107ac)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.

About

A remake of KaBuM!, an e-commerce website.

License:GNU Affero General Public License v3.0


Languages

Language:PHP 50.3%Language:HTML 29.2%Language:JavaScript 14.4%Language:CSS 6.0%