FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
krybc/cart: Simple Symfony 4 shopping cart application. App boilerplate · GitHub
krybc
/
cart
Public
Notifications
You must be signed in to change notification settings
Fork
15
Star
21
Code
Issues
0
Pull requests
12
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Branches
Tags
Open more actions menu
Latest commit
History
30 Commits
30 Commits
Folders and files
Name
Name
Last commit message
Last commit date
.docker
.docker
assets
assets
bin
bin
config
config
docs
docs
public
public
src
src
templates
templates
tests
tests
translations
translations
.env
.env
.env.test
.env.test
.gitignore
.gitignore
.gitlab-ci.yml
.gitlab-ci.yml
README.md
README.md
composer.json
composer.json
composer.lock
composer.lock
docker-compose.yml
docker-compose.yml
package-lock.json
package-lock.json
package.json
package.json
phpunit.xml.dist
phpunit.xml.dist
symfony.lock
symfony.lock
webpack.config.js
webpack.config.js
Repository files navigation
README
Simple Symfony 4 cart
Requirements
composer
php >= 7.1
webpack
mysql >= 5.6
nodeJS (8.11.1 and above)
Installation
Docker
run git clone https://github.com/kamil-rybczynski/cart.git command
run docker-compose up --build
log in to app container bash docker exec -it cart_app /bin/bash
run cp .env .env.local and type your environment variables, eg. valid mysql port for the Docker
run composer install
run php bin/console doctrine:migrations:migrate to add database tables
run php bin/console doctrine:fixtures:load to load default products, payments, shipments and discount codes data
tap exit command and exit from container terminal
log in to node container bash docker exec -it cart_node /bin/bash
run npm install
run npm run dev
enjoy that shit in web browser on http://localhost:8000 URL
Webserver
run git clone https://github.com/kamil-rybczynski/cart.git command
run composer install command
run npm install command to install frontend dependencies
add database on your mysql server
copy .env file to .env.local and type your local environment variables, eg. mysql connection
run php bin/console doctrine:migrations:migrate to add database tables
run php bin/console doctrine:fixtures:load to load default products, payments, shipments and discount codes data
map host to public folder
Running
Docker
run docker-compose up
enjoy that shit in web browser on http://localhost:8000 URL
About
Simple Symfony 4 shopping cart application. App boilerplate
Topics
backend
boilerplate
cart
doctrine-orm
mvc
mysql
php71
symfony
symfony-flex
symfony4
webpack-encore
Resources
Readme
Activity
Stars
21
stars
Watchers
2
watching
Forks
15
forks
Report repository
Releases
Packages
Used by
Contributors
Languages
Back
|
FazBrowse Home
|
New Git URL