GithubHelp home page GithubHelp logo

docs's Introduction

pipe-dream/docs

Platform overview

The bulk of Pipe Dream lives in pipe-dream/core. In addition, each language implementation has two repositories - one for logic, and one for package distribution

Repositories

repo summary
pipe-dream/core Interfaces, base classes, vue components and more
pipe-dream/laravel-file-factory Logic specific to Laravel
pipe-dream/laravel-create A Laravel Package distributed with composer/packagist
... ...
pipe-dream/<language>-file-factory Logic specific to <language>
pipe-dream/<language>-create Package (npm/gem/pip ...)

Overview

Pipe Dream development guide

Using Laravel as example.

1. Install the core

git clone [email protected]:pipe-dream/core.git
cd core
yarn

Still in the corefolder, prepare a link (so the other repos can access your local version of core)

yarn link

2. Install laravel-file-factory

git clone [email protected]:pipe-dream/laravel-file-factory.git
cd laravel-file-factory
yarn link @pipe-dream/core
yarn

Create a link for this repo as well

yarn link

3. Setup a host app and the Laravel package:

Create a fresh laravel project to act as host app:

laravel new pd-host
cd pd-host

Add our Laravel package in a dedicated folder:

mkdir -p packages/PipeDream
cd packages/PipeDream
git clone [email protected]:pipe-dream/laravel-create.git LaravelCreate
cd LaravelCreate
composer install
yarn link @pipe-dream/core
yarn link @pipe-dream/laravel-file-factory
yarn

Add namespace to pd-host/composer.json:

"autoload": {
    "psr-4": {
        "App\\": "app/",
        "PipeDream\\LaravelCreate\\": "packages/PipeDream/LaravelCreate/src"
    },

And in the providers array of pd-host/config/app.php add:

/*
* Package Service Providers...
*/
PipeDream\LaravelCreate\LaravelCreateServiceProvider::class,

Finally, you probably want to open up the three repos in three separate editors as well as terminal tabs to build it

repo build
core yarn build --watch
laravel-file-factory yarn watch
laravel-create yarn watch

Changes to core, laravel-file-factory and to the laravel-create package itself should now instantly reflect when visiting pd-host.test/pipe-dream

Happy coding!

docs's People

Contributors

ajthinking avatar smartymoon 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.