https://github.com/elcodi/bamboo
Meet Bamboo, an e-commerce project built on top of Elcodi and Symfony. Give us a star to support our project :)
https://github.com/elcodi/bamboo
Last synced: 8 months ago
JSON representation
Meet Bamboo, an e-commerce project built on top of Elcodi and Symfony. Give us a star to support our project :)
- Host: GitHub
- URL: https://github.com/elcodi/bamboo
- Owner: elcodi
- License: mit
- Archived: true
- Created: 2015-01-20T12:23:41.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-07-23T00:02:33.000Z (over 9 years ago)
- Last Synced: 2024-11-25T16:45:45.507Z (about 1 year ago)
- Language: PHP
- Homepage: http://bamboo.elcodi.com
- Size: 40.3 MB
- Stars: 198
- Watchers: 17
- Forks: 43
- Open Issues: 46
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG-0.5.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-symfony - Bamboo - Full-stack E-commerce application based on Symfony and Elcodi components (Ecommerce)
README
Bamboo e-commerce
=================
[](https://travis-ci.org/elcodi/bamboo)
[](https://ci.appveyor.com/project/mmoreram/bamboo/branch/master)
[](https://heroku.com/deploy)
Welcome to Bamboo e-commerce - a fully-functional e-commerce application built
using [Elcodi] components on top of the [Symfony] framework.
Yes, you got it right! Bamboo uses the Symfony framework but our components are
framework agnostic, that is, they only depend on the Symfony components as
opposed to the whole framework or any of its distributions.
Why should I use Bamboo? That's simple, to sell your products. We provide you
with an interface to sell your products and manage your store. You only have to
focus on offering a good product, we take care of the rest.
Elcodi was awarded as the **Best Open Source** project of 2015 by the Symfony
Community awards.

## Requirements
We're trying to build this project with a light default dependencies. These are
ours.
### PHP
To use Bamboo and Elcodi you need a PHP version not lower than **5.4**. For more
info just visit their [installation page](http://php.net/manual/en/install.php)
### PHP GD
> This PHP extension is used to being already installed when you add PHP in your
> distribution
Images are a really important part of an store. Bamboo uses PHP GD to
resize and optimize all product images. For more info just visit their
[installation page](http://php.net/manual/en/image.installation.php)
After that, you will be able to change the adapter and use other
implementations.
### MySQL
And, where do you save your data? By default we use MySQL, remember to install
it as well as its extension for PHP. For more info just visit their
[installation page](http://dev.mysql.com/doc/refman/5.1/en/installing.html)
### Composer
[Composer] is required to manage dependencies.
if you have not yet installed Composer, download it following the instructions
on [http://getcomposer.org/](http://getcomposer.org/) or just run the following
command:
``` bash
$ curl -s http://getcomposer.org/installer | php
```
## Installation
If you're used to working with LAMP environment, then you will have Bamboo
running in your computer in less than 5 minutes.
### 1. Install the project
After installing composer you can create your new Bamboo project.
``` bash
$ php composer.phar create-project elcodi/bamboo bamboo -sdev
```
> The installation process will ask you for some parameters like the database
> driver, username, password, database name, etc
Enter your directory to start the configuration step and use our magic command
to create a complete development environment. Just one single line to rule them
all
``` bash
$ cd bamboo/
$ php app/console elcodi:install
```
By default only Spain will be installed. We have focused this step to run as
fast as possible, so then, you'll be able to install more countries. You can add
some countries in addition by using the `--country` command option.
``` bash
$ php app/console elcodi:install --country=FR --country=IT
```
### 2. Run the server
Our store is ready to run. Use the built-in server to take a look at the
project.
``` bash
$ php app/console server:run
```
### 3. Visit your store
You're done! Visit `http://localhost:8000` in your browser and take a look at
what we have for you :) Use these Customer credentials in the store
``` text
Customer username: customer@customer.com
Customer password: 1234
```
And for the admin panel, use this Admin credentials.
``` text
Admin username: admin@admin.com
Admin password: 1234
```
Remember to remove these users properly as soon as you're in production.
## Metrics
Metrics are not enabled by default. If you want to enable them, then you need to
install Redis. For more info just visit their
[installation page](http://redis.io/topics/quickstart)
In order to use the last Redis features, like the `HyperLogLog` commands, be
sure your Redis version is at least `v2.8.9`.
## Cache
By default, Bamboo is installed without any doctrine cache. You can change this
settings by changing the file `app/cache/config/common/cache.yml` and by
changing the value `array` for another one.
You can check some documentation about different types of cache in the
[Doctrine Cache Bundle](https://github.com/doctrine/DoctrineCacheBundle)
repository page.
The most used cache type in Bamboo is `redis`. Make sure then that you have the
php redis extension installed properly.
## Tests
We are doing some tests, and this will be **in cresciendo**. You can ensure
yourself that all the cases we've been working on are actually green. We are
using Behat and PHPUnit, so you only need to execute all suites by using this
piece of code.
``` bash
$ php bin/behat
$ php bin/phpunit -c app
$ php app/console visithor:go --format=pretty --env=test
```
## Issues
You can report any issue on [Bamboo](https://github.com/elcodi/bamboo/issues) or
[Elcodi](https://github.com/elcodi/elcodi/issues)
## Need help
If you need any help with the installation or understanding elcodi or bamboo you
can contact us on [gitter](https://gitter.im/elcodi/elcodi).
We will be glad to help you, just ask for help.
[Composer]: http://getcomposer.org/
[Symfony]: http://symfony.com
[Elcodi]: https://github.com/elcodi/elcodi
[configure a Web server]: http://symfony.com/doc/current/cookbook/configuration/web_server_configuration.html