Giter VIP home page Giter VIP logo

dumplie's Introduction

Dumplie

Dumplie is first ecommerce framework not bound to any php framework. It is build to be used with any existing solution.

Feel free to join us on slack! Slack Status

Development environment

Docker

Project does not provide any docker image yet, but you can use docker in this project in following way:

FROM php:7.0.7-cli

RUN apt-get update && apt-get install -y git zlib1g-dev
RUN docker-php-ext-install zip
  • Build image from use this Dockerfile:
docker build -t your-namespace/php7 /foo/bar
  • Add following alias (for example to .bashrc):
alias php='docker run --rm --name php -it -v "$PWD":/usr/src/app -w /usr/src/app your-namespace/php7 php'
  • Now you can download composer: see composer page and install project
  • Running test:
php bin/phpspec run
php bin/phpunit

Tests

Dumplie idea is to be as much technology agnostic as possible, however we support some popular software like for example mysql or postgresql.

In order to execute integration tests against specific database use DUMPLIE_TEST_DB_CONNECTION env variable.

Example:

$ export DUMPLIE_TEST_DB_CONNECTION='{"driver":"pdo_pgsql","host":"127.0.0.1","dbname":"dumplie","user":"docker","password":"docker","port":32771}' && bin/phpunit
$ export DUMPLIE_TEST_DB_CONNECTION='{"driver":"pdo_mysql","host":"127.0.0.1","dbname":"dumplie","user":"root","password":"root","port":32777}' && bin/phpunit

dumplie's People

Contributors

l3l0 avatar norberttech avatar potfur avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.