Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define Project Workflow #1

Open
kpicaza opened this issue Aug 21, 2020 · 1 comment
Open

Define Project Workflow #1

kpicaza opened this issue Aug 21, 2020 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@kpicaza
Copy link
Member

kpicaza commented Aug 21, 2020

For the 1.0.0 version of the installer, we want to be able to install these five different application skeletons:

  • Classic Web App
    • Let the developer installing default docker server
    • Let the developer choose between config style
    • Let the developer choose between primary namespace style
    • Let the developer installing antidot framework packages
  • Serverless Web App
    • Let the developer installing default docker server
    • Let the developer choose between config style
    • Let the developer choose between primary namespace style
    • Let the developer installing antidot framework packages
    • Let the developer installing minimal serverless.yaml for Bref configuration
  • Console Line Tool
    • Let the developer choose between config style
    • Let the developer installing antidot framework packages
    • Let the developer choose between primary namespace style
  • Micro Http App
    • Let the developer installing default docker server
    • Let the developer choose between config style (NO, it adds to many dependencies to the micro version)
    • Let the developer choose between primary namespace style
    • Let the developer installing antidot framework packages
  • React Http App
    • Let the developer installing default docker server
    • Let the developer choose between config style
    • Let the developer choose between primary namespace style

I have to define the different tasks implicit in the above wishlist.

@kpicaza kpicaza added the documentation Improvements or additions to documentation label Aug 21, 2020
@kpicaza kpicaza added this to the 1.0.0 milestone Aug 21, 2020
@kpicaza kpicaza self-assigned this Aug 21, 2020
@kpicaza
Copy link
Member Author

kpicaza commented Aug 22, 2020

As the first approach, I will create two packages the installer itself as a composer plugin and an empty skeleton project package with the installer as a dependency.

Once you execute the composer create-project antidot-fw/skeleton command, it will download only the installer dependencies and it will prompt the related questions to create the correct installation. Depending on your selection it will update or recreate the composer.json file and set up the correct file structure.

First iteration questions:

It should let the developer choose between the installation type:

  • What type of application do you want to install?
    • Classic Web App
    • Serverless App
    • Console Line Tool
    • Micro Http App
    • React Http App

It should let the developer choose between config style:

  • Choose config style
    • php
    • yaml

It should let the developer choose between primary namespace:

  • Select the primary namespace for your application [App]

It should let the developer installing default docker server:

  • Do you want to install pre-configured Docker environment? [yes/no]

It should let the developer installing Packagist packages:

A recursive question while it doesn't have an answer

  • Do you want no add any package?

In the serverless version, it should let the developer installing minimal serverless.yaml for Bref configuration running the beef init command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Development

No branches or pull requests

1 participant